1 Oct 2009 10:28
[PATCH 28/34] move vhci_hcd_remove to .devexit.text
Uwe Kleine-König <u.kleine-koenig <at> pengutronix.de>
2009-10-01 08:28:32 GMT
2009-10-01 08:28:32 GMT
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
<at> <at> -1131,7 +1131,7 <at> <at> 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.4.3
(Continue reading)
RSS Feed