[PATCH 17/34] move mxcnd_remove to .exit.text
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Thu Oct 1 04:28:21 EDT 2009
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 at pengutronix.de>
Acked-by: Sam Ravnborg <sam at ravnborg.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: David Woodhouse <David.Woodhouse at intel.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Vladimir Barinov <vova.barinov at gmail.com>
Cc: Vladimir Barinov <vbarinov at embeddedalley.com>
Cc: linux-mtd at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
---
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 65b26d5..ef3e199 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);
--
1.6.4.3
More information about the linux-mtd
mailing list