From: Uwe Kleine-König Date: Tue, 24 Nov 2009 21:06:58 +0000 (+0100) Subject: mtd: move excite_nand_remove to .devexit.text X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fead79c96c68164372c47c7b3c79d2da0871c93;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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: Uwe Kleine-König Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/excite_nandflash.c b/drivers/mtd/nand/excite_nandflash.c index 72446fb48d4b..af6a6a5399e1 100644 --- a/drivers/mtd/nand/excite_nandflash.c +++ b/drivers/mtd/nand/excite_nandflash.c @@ -128,7 +128,7 @@ static int excite_nand_devready(struct mtd_info *mtd) * The binding to the mtd and all allocated * 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);