diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-11-24 16:07:08 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 05:02:24 -0500 |
commit | daa0f15a8dc6ef81655c7853f84a3670be7d144a (patch) | |
tree | 38d4ed020f5d212e29690eff6acb39996b6ad620 /drivers/mtd | |
parent | 8fead79c96c68164372c47c7b3c79d2da0871c93 (diff) |
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 06c531485df9..4bc43eb6c604 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1099,7 +1099,7 @@ static struct platform_driver mxcnd_driver = { | |||
1099 | .driver = { | 1099 | .driver = { |
1100 | .name = DRIVER_NAME, | 1100 | .name = DRIVER_NAME, |
1101 | }, | 1101 | }, |
1102 | .remove = __exit_p(mxcnd_remove), | 1102 | .remove = __devexit_p(mxcnd_remove), |
1103 | .suspend = mxcnd_suspend, | 1103 | .suspend = mxcnd_suspend, |
1104 | .resume = mxcnd_resume, | 1104 | .resume = mxcnd_resume, |
1105 | }; | 1105 | }; |