mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
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>
This commit is contained in:
parent
8f101a051e
commit
20ea8fad9e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue