aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2009-11-20 13:50:53 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:34:11 -0800
commit40b52371be92cf9990de162e4c7b4fd9160150a7 (patch)
treef05f69ca815360b0de5f0699067d200f0d01bc19
parentac06c06770bb8761b1f1f9bdf2f5420fa6d3e9fa (diff)
downloadkernel_samsung_smdk4412-40b52371be92cf9990de162e4c7b4fd9160150a7.tar.gz
kernel_samsung_smdk4412-40b52371be92cf9990de162e4c7b4fd9160150a7.tar.bz2
kernel_samsung_smdk4412-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>
-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 1206a26ef89..2958a1271b2 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;