mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
mtd: don't use __exit_p to wrap mxcnd_remove
The function mxcnd_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
8fead79c96
commit
daa0f15a8d
1 changed files with 1 additions and 1 deletions
|
@ -1099,7 +1099,7 @@ static struct platform_driver mxcnd_driver = {
|
|||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
},
|
||||
.remove = __exit_p(mxcnd_remove),
|
||||
.remove = __devexit_p(mxcnd_remove),
|
||||
.suspend = mxcnd_suspend,
|
||||
.resume = mxcnd_resume,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue