[PATCH 22/38] move vhci_hcd_remove to .devexit.text

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Nov 24 21:07:17 UTC 2009


The function vhci_hcd_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Acked-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Greg Kroah-Hartman <gregkh at suse.de>
Cc: Brian G. Merrell <bgmerrell at novell.com>
Cc: Shan Wei <shanwei at cn.fujitsu.com>
Cc: Kay Sievers <kay.sievers at vrfy.org>
Cc: devel at driverdev.osuosl.org
Cc: linux-kernel at vger.kernel.org
---
 drivers/staging/usbip/vhci_hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 6e91fc2..22b1c6c 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -1131,7 +1131,7 @@ static int vhci_hcd_probe(struct platform_device *pdev)
 }
 
 
-static int vhci_hcd_remove(struct platform_device *pdev)
+static int __devexit vhci_hcd_remove(struct platform_device *pdev)
 {
 	struct usb_hcd	*hcd;
 
-- 
1.6.5.2




More information about the devel mailing list