android_kernel_motorola_sm6225/drivers/usb/gadget
David Brownell 6bea476cf6 USB: gadget driver unbind() is optional; section fixes; misc
Allow gadget drivers to omit the unbind() method.  When they're
statically linked, that's an appropriate memory saving tweak.

Similarly, provide consistent/simpler handling for a should-not-happen
error case:  removing a peripheral controller driver when a gadget
driver is still loaded.  Such code dates back to early versions of the
first implementation of the gadget API, and has never been triggered.

Includes relevant section annotation fixs for gmidi.c, file_storage.c,
and serial.c; we don't yet have an "init or exit" annotation.  Also
some whitespace fixes in gmidi.c (space at EOL, before tabs, etc).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-20 10:14:26 -08:00
..
at91_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
at91_udc.h USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
config.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dummy_hcd.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
file_storage.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
gadget_chips.h [PATCH] USB: fix gadget_is_musbhdrc() 2006-04-14 11:12:24 -07:00
gmidi.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
Kconfig [ARM] 3963/1: AT91: Update configuration files 2006-12-01 16:56:43 +00:00
lh7a40x_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
omap_udc.h [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
pxa2xx_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
usbstring.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zero.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00