diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-17 16:28:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:57 -0700 |
commit | 20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc (patch) | |
tree | 6710b9b02f3d8c681afa53ba680f1545a7997658 /drivers/edac | |
parent | 8f101a051ef054c33186abcd54b30a88afea47ef (diff) | |
download | linux-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')
-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 = { .owner = THIS_MODULE, }, .probe = cell_edac_probe, - .remove = cell_edac_remove, + .remove = __devexit_p(cell_edac_remove), }; static int __init cell_edac_init(void) |