summaryrefslogtreecommitdiff
path: root/drivers/edac/cell_edac.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-18 03:28:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-19 00:03:57 +0400
commit20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc (patch)
tree6710b9b02f3d8c681afa53ba680f1545a7997658 /drivers/edac/cell_edac.c
parent8f101a051ef054c33186abcd54b30a88afea47ef (diff)
downloadlinux-20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc.tar.xz
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. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: Doug Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/cell_edac.c')
-rw-r--r--drivers/edac/cell_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
index cb0f639f049d..c973004c002c 100644
--- a/drivers/edac/cell_edac.c
+++ b/drivers/edac/cell_edac.c
@@ -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)