Skip to contentSkip to conversation

fix section mismatch in early ehci dbgp

PATCH Applied Jan Beulich 3 participants 3 messages Nov 20, 2009 – Dec 22, 2009 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/usb/early/ehci-dbgp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/early/ehci-dbgp.c +1 -1
@@ -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;
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jan Beulich

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.

Quoted 19 lines
---
 drivers/usb/early/ehci-dbgp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/early/ehci-dbgp.c +1 -1
@@ -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;
#2 lore raw

patch usb-fix-section-mismatch-in-early-ehci-dbgp.patch added to gregkh-2.6 tree

In reply to Jan Beulich

This is a note to let you know that I've just added the patch titled

Subject: USB: fix section mismatch in early ehci dbgp

to my gregkh-2.6 tree. Its filename is

usb-fix-section-mismatch-in-early-ehci-dbgp.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

Quoted 1 line

From [email protected] Tue Dec 22 11:20:33 2009

From: "Jan Beulich" <[email protected]>
Date: Fri, 20 Nov 2009 13:50:53 +0000
Subject: USB: fix section mismatch in early ehci dbgp
To: <[email protected]>
Cc: <[email protected]>, <[email protected]>
Message-ID: <[email protected]>
Content-Disposition: inline

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.

---
 drivers/usb/early/ehci-dbgp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/early/ehci-dbgp.c +1 -1
@@ -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;