[PATCH] USB: gadget driver updates (SETUP api change)
authorDavid Brownell <david-b@pacbell.net>
Sat, 7 May 2005 20:05:13 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:53 +0000 (14:43 -0700)
commit1bbc169621cbe502b9143a27eb12802a0f1d43a0
treea8fc4a429d890ea02ef1084ec3ffb2a9b9ef9c61
parent028b271b687714f9fc7a1e89bb79f1fbeef154ee
[PATCH] USB: gadget driver updates (SETUP api change)

This updates most of the gadget framework to expect SETUP packets use
USB byteorder (matching the annotation in <linux/usb_ch9.h> and usage
in the host side stack):

  - definition in <linux/usb_gadget.h>
  - gadget drivers:  Ethernet/RNDIS, serial/ACM, file_storage, gadgetfs.
  - dummy_hcd

It also includes some other similar changes as suggested by "sparse",
which was used to detect byteorder bugs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/inode.c
drivers/usb/gadget/serial.c
drivers/usb/gadget/zero.c
include/linux/usb_gadget.h