linux/drivers/usb/gadget
David Brownell 9079e91b5b USB: serial gadget: cleanup/reorg
Some cleanup/reorg of g_serial ... simplifying it, and disentangling
its structure so morphing it into a "function" driver (combinable with
other interfaces) should be less painful.

 - Remove most forward declarations
     * put tty and gadget driver structs after their contents
     * snug module init/exit decls next to their functions
     * reordered some functions

 - Other cleanup:
     * convert a funky macro to an inline function
     * snug up module params next to their declarations
     * add missing driver.owner
     * add separator lines between major driver sections

 - Add comments re potential parameter/#define changes:
     * only supports one port (shrank GS_NUM_PORTS)
     * changing from 9600-8-N-1 affects multiple sites

 - Remove net2280-specific optimization ... it was being done
   way too late, can be done by net2280 module options, and in
   any case doesn't matter at any sane serial data rates.

There are no behavioral changes, but the macro thing saves I-space.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Al Borchers <alborchers@steinerpoint.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-14 10:00:28 -07:00
..
amd5536udc.c usb: fix integer as NULL pointer warnings found by sparse 2008-05-14 10:00:26 -07:00
amd5536udc.h
at91_udc.c usb: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
at91_udc.h
atmel_usba_udc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/usba-2.6.26 into base 2008-04-19 20:38:41 -04:00
atmel_usba_udc.h atmel_usba_udc: Add support for AT91CAP9 UDPHS 2008-04-06 17:25:06 -04:00
config.c
dummy_hcd.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
epautoconf.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
ether.c usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
file_storage.c USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance, clear-feature ignore 2008-05-02 10:25:58 -07:00
fsl_usb2_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
fsl_usb2_udc.h USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
gadget_chips.h
gmidi.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
goku_udc.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
goku_udc.h
inode.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
Kconfig usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
lh7a40x_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
lh7a40x_udc.h
m66592-udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
m66592-udc.h drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
Makefile usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
ndis.h
net2280.c
net2280.h USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
omap_udc.c usb: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
omap_udc.h
printer.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
pxa2xx_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
pxa2xx_udc.h USB: pxa2xx_udc: fix misuse of clock enable/disable calls 2008-03-04 14:57:44 -08:00
pxa27x_udc.c usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
pxa27x_udc.h usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
rndis.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
rndis.h
s3c2410_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
s3c2410_udc.h
serial.c USB: serial gadget: cleanup/reorg 2008-05-14 10:00:28 -07:00
usbstring.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
zero.c usb: gadget zero timer init fix 2008-05-02 10:25:54 -07:00