]> git.karo-electronics.de Git - linux-beck.git/commit
USB: gadget section fixes
authorDavid Brownell <david-b@pacbell.net>
Sat, 5 Apr 2008 21:17:14 +0000 (14:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:48 +0000 (21:16 -0700)
commit0e530b45783f75a29bde20bbf9e287c915a4f68b
treec32b0677126225b5b2df3e88ccdc86dc376a58c7
parent61a5c657892a43653d6189972159590751a0673e
USB: gadget section fixes

Restore some section annotations:  they were switched to "__devinit"
while they should have been "__init", because of bogus warnings.  The
warnings are now fixed, so the runtime footprint of various drivers
can now shrink a bit.  On ARMv5, it's about 600 bytes except for the
Ethernet gadget, where it can save a bit more.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/gmidi.c
drivers/usb/gadget/rndis.c