original_kernel/drivers/usb/gadget
David Brownell a353678d31 [PATCH] USB: gadget section fixups
Recent section changes broke gadget builds on some platforms.  This patch
is the best fix that's available until better section markings exist:

 - There's a lot of cleanup code that gets used in both init and exit paths;
   stop marking it as "__exit".

   (Best fix for this would be an "__init_or_exit" section marking, putting
   the cleanup in __init when __exit sections get discarded else in __exit.)

 - Stop marking the use-once probe routines as "__init" since references
   to those routines are not allowed from driver structures.  They're now
   marked "__devinit", which in practice is a net lose.

   (Best fix for this is likely to separate such use-once probe routines
   from the driver structure ... but in general, all busses that aren't
   hotpluggable will be forced to waste memory for all probe-only code.)

In general these broken section rules waste an average of two to four kBytes
per driver of code bloat ... because none of the relevant code can ever be
reused after module initialization.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-07-12 16:03:24 -07:00
..
Kconfig
Makefile
at91_udc.c
at91_udc.h
config.c
dummy_hcd.c
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
file_storage.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
gadget_chips.h
goku_udc.c
goku_udc.h
inode.c
lh7a40x_udc.c [ARM] Fix lh7a40x_udc.c 2006-07-03 15:32:47 +01:00
lh7a40x_udc.h
ndis.h
net2280.c
net2280.h
omap_udc.c
omap_udc.h
pxa2xx_udc.c
pxa2xx_udc.h
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 [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
usbstring.c
zero.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00