Skip to content

Commit

Permalink
edac: add missing __devexit_p()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed Jun 18, 2009
1 parent 8f101a0 commit 20ea8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/cell_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20ea8fa

Please sign in to comment.