Skip to contentSkip to conversation

edac: add missing __devexit_p()

PATCH New Mike Frysinger 1 participant 1 message May 18, 2009 EDAC-core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 edac: 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/edac/cell_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/edac/cell_edac.c +1 -1
index cb0f639..c973004 100644
@@ -227,7 +227,7 @@ static struct platform_driver cell_edac_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= cell_edac_probe,
-	.remove		= cell_edac_remove,
+	.remove		= __devexit_p(cell_edac_remove),
 };
 
 static int __init cell_edac_init(void)
Signature · 1 line
1.6.3