aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp1760-if.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-11 21:59:00 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-12 15:16:36 -0700
commit4198e4f7e0b756d8a847e408b0017495833538b3 (patch)
tree18cdf7b3223fb44cbf1ea7b14843030099a91c18 /drivers/usb/host/isp1760-if.c
parentUSB: EHCI: update toggle state for linked QHs (diff)
downloadlinux-dev-4198e4f7e0b756d8a847e408b0017495833538b3.tar.xz
linux-dev-4198e4f7e0b756d8a847e408b0017495833538b3.zip
USB: isp1760: use __devexit_p() for remove function
The isp1760_plat_remove function is declared with __devexit, so the .remove assignment needs to be wrapped with __devexit_p(). Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1760-if.c')
-rw-r--r--drivers/usb/host/isp1760-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c
index 3fa3a1702796..d4feebfc63bd 100644
--- a/drivers/usb/host/isp1760-if.c
+++ b/drivers/usb/host/isp1760-if.c
@@ -361,7 +361,7 @@ static int __devexit isp1760_plat_remove(struct platform_device *pdev)
static struct platform_driver isp1760_plat_driver = {
.probe = isp1760_plat_probe,
- .remove = isp1760_plat_remove,
+ .remove = __devexit_p(isp1760_plat_remove),
.driver = {
.name = "isp1760",
},