mtd: move mxcnd_remove to .exit.text
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 1 Oct 2009 08:28:21 +0000 (10:28 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 17 Oct 2009 14:36:27 +0000 (15:36 +0100)
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>
drivers/mtd/nand/mxc_nand.c

index 65b26d5a5c0d391cf72559f6d6f38eadb7b089a1..ef3e1998b5918905a2f41ae10077e39c54d69ddf 100644 (file)
@@ -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);