diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-10-01 04:28:21 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-10-17 10:36:27 -0400 |
commit | 82613b0da622efbd24cb7b23eb349966802310f1 (patch) | |
tree | 09ed79d9b9227582c70ac8fc749de95953f7af09 /drivers/mtd | |
parent | e4af3bf6334341435740fce9ff236ba814686b99 (diff) |
mtd: move mxcnd_remove to .exit.text
The function mxcnd_remove is used only wrapped by __exit_p so define it
using __exit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Vladimir Barinov <vova.barinov@gmail.com>
Cc: Vladimir Barinov <vbarinov@embeddedalley.com>
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 65b26d5a5c0d..ef3e1998b591 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1052,7 +1052,7 @@ eclk: | |||
1052 | return err; | 1052 | return err; |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | static int __devexit mxcnd_remove(struct platform_device *pdev) | 1055 | static int __exit mxcnd_remove(struct platform_device *pdev) |
1056 | { | 1056 | { |
1057 | struct mxc_nand_host *host = platform_get_drvdata(pdev); | 1057 | struct mxc_nand_host *host = platform_get_drvdata(pdev); |
1058 | 1058 | ||