Skip to contentSkip to conversation

USB: isp1760: add missing __devexit_p()

PATCH New Mike Frysinger 1 participant 1 message Jun 23, 2009 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: isp1760: add missing __devexit_p()

The remove function uses __devexit, so the .remove assignment needs __devexit_p() to fix a build error with hotplug disabled.

---
 drivers/usb/host/isp1760-if.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/host/isp1760-if.c +1 -1
index 3fa3a17..d4feebf 100644
@@ -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",
 	},
Signature · 1 line
1.6.3.1