From: Mike Frysinger Date: Wed, 17 Jun 2009 23:28:01 +0000 (-0700) Subject: edac: add missing __devexit_p() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20ea8fad9e5d2475c4cbbd2f8b0c88903e9584dc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Cc: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)