summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2009-11-20 14:50:53 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 20:34:11 +0100
commit40b52371be92cf9990de162e4c7b4fd9160150a7 (patch)
treef05f69ca815360b0de5f0699067d200f0d01bc19 /drivers/usb
parentUSB: emi62: fix crash when trying to load EMI 6|2 firmware (diff)
downloadlinux-40b52371be92cf9990de162e4c7b4fd9160150a7.tar.xz
linux-40b52371be92cf9990de162e4c7b4fd9160150a7.zip
USB: fix section mismatch in early ehci dbgp
Commit 917778267fbe67703ab7d5c6f0b7a05d4c3df485 removed __init from ehci_wait_for_port(), but left it in place on ehci_reset_port(), which is being called from the former function. Signed-off-by: Jan Beulich <jbeulich@novell.com> Acked-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/early/ehci-dbgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/early/ehci-dbgp.c b/drivers/usb/early/ehci-dbgp.c
index 1206a26ef893..2958a1271b20 100644
--- a/drivers/usb/early/ehci-dbgp.c
+++ b/drivers/usb/early/ehci-dbgp.c
@@ -613,7 +613,7 @@ err:
}
EXPORT_SYMBOL_GPL(dbgp_external_startup);
-static int __init ehci_reset_port(int port)
+static int ehci_reset_port(int port)
{
u32 portsc;
u32 delay_time, delay;