aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/cell_edac.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-17 16:28:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:03:57 -0700
commit20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc (patch)
tree6710b9b02f3d8c681afa53ba680f1545a7997658 /drivers/edac/cell_edac.c
parent8f101a051ef054c33186abcd54b30a88afea47ef (diff)
downloadkernel_samsung_aries-20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc.zip
kernel_samsung_aries-20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc.tar.gz
kernel_samsung_aries-20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc.tar.bz2
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 cb0f639..c973004 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)