Commit 8fead79c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David Woodhouse

mtd: move excite_nand_remove to .devexit.text

The function excite_nand_remove is used only wrapped by __devexit_p so
define it using __devexit.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 0fed784b
...@@ -128,7 +128,7 @@ static int excite_nand_devready(struct mtd_info *mtd) ...@@ -128,7 +128,7 @@ static int excite_nand_devready(struct mtd_info *mtd)
* The binding to the mtd and all allocated * The binding to the mtd and all allocated
* resources are released. * resources are released.
*/ */
static int __exit excite_nand_remove(struct platform_device *dev) static int __devexit excite_nand_remove(struct platform_device *dev)
{ {
struct excite_nand_drvdata * const this = platform_get_drvdata(dev); struct excite_nand_drvdata * const this = platform_get_drvdata(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment