[patch 1/5] usb: fix section mismatch in early ehci dbgp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Jan Beulich" <JBeulich@xxxxxxxxxx>

Commit 917778267fbe67703ab7d5c6f0b7a05d4c3df485 ("USB: ehci-dbgp:
stability improvements and external re-init") 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@xxxxxxxxxx>
Acked-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/usb/early/ehci-dbgp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/usb/early/ehci-dbgp.c~fix-section-mismatch-in-early-ehci-dbgp drivers/usb/early/ehci-dbgp.c
--- a/drivers/usb/early/ehci-dbgp.c~fix-section-mismatch-in-early-ehci-dbgp
+++ a/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;
_
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux