summaryrefslogtreecommitdiff
path: root/drivers/usb/early/ehci-dbgp.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2009-11-20 16:50:53 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 22:34:11 +0300
commit40b52371be92cf9990de162e4c7b4fd9160150a7 (patch)
treef05f69ca815360b0de5f0699067d200f0d01bc19 /drivers/usb/early/ehci-dbgp.c
parentac06c06770bb8761b1f1f9bdf2f5420fa6d3e9fa (diff)
downloadlinux-40b52371be92cf9990de162e4c7b4fd9160150a7.tar.xz
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/early/ehci-dbgp.c')
-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;