diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-17 19:28:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:57 -0400 |
commit | 20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc (patch) | |
tree | 6710b9b02f3d8c681afa53ba680f1545a7997658 /drivers/edac/cell_edac.c | |
parent | 8f101a051ef054c33186abcd54b30a88afea47ef (diff) |
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.c | 2 |
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 = { | |||
227 | .owner = THIS_MODULE, | 227 | .owner = THIS_MODULE, |
228 | }, | 228 | }, |
229 | .probe = cell_edac_probe, | 229 | .probe = cell_edac_probe, |
230 | .remove = cell_edac_remove, | 230 | .remove = __devexit_p(cell_edac_remove), |
231 | }; | 231 | }; |
232 | 232 | ||
233 | static int __init cell_edac_init(void) | 233 | static int __init cell_edac_init(void) |