summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/rndis.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2008-04-05 23:17:14 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 06:16:48 +0200
commit0e530b45783f75a29bde20bbf9e287c915a4f68b (patch)
treec32b0677126225b5b2df3e88ccdc86dc376a58c7 /drivers/usb/gadget/rndis.c
parentUSB: rework sysfs removal of interface files (diff)
downloadlinux-0e530b45783f75a29bde20bbf9e287c915a4f68b.tar.xz
linux-0e530b45783f75a29bde20bbf9e287c915a4f68b.zip
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>
Diffstat (limited to 'drivers/usb/gadget/rndis.c')
-rw-r--r--drivers/usb/gadget/rndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c
index 3d036647431f..934911ee5c72 100644
--- a/drivers/usb/gadget/rndis.c
+++ b/drivers/usb/gadget/rndis.c
@@ -1403,7 +1403,7 @@ static struct proc_dir_entry *rndis_connect_state [RNDIS_MAX_CONFIGS];
#endif /* CONFIG_USB_GADGET_DEBUG_FILES */
-int __devinit rndis_init (void)
+int __init rndis_init (void)
{
u8 i;