diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-10-01 10:28:21 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-10-17 16:36:27 +0200 |
commit | 82613b0da622efbd24cb7b23eb349966802310f1 (patch) | |
tree | 09ed79d9b9227582c70ac8fc749de95953f7af09 /drivers/mtd/nand/mxc_nand.c | |
parent | mtd: atmel_nand: unused variable removed (diff) | |
download | linux-82613b0da622efbd24cb7b23eb349966802310f1.tar.xz linux-82613b0da622efbd24cb7b23eb349966802310f1.zip |
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/nand/mxc_nand.c')
-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: return err; } -static int __devexit mxcnd_remove(struct platform_device *pdev) +static int __exit mxcnd_remove(struct platform_device *pdev) { struct mxc_nand_host *host = platform_get_drvdata(pdev); |