mtd: move excite_nand_remove to .devexit.text

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Nov 30 05:59:09 EST 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8fead79c96c68164372c47c7b3c79d2da0871c93
Commit:     8fead79c96c68164372c47c7b3c79d2da0871c93
Parent:     0fed784b0f1ecf57d568ae60b2cada43f9d90759
Author:     Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
AuthorDate: Tue Nov 24 22:06:58 2009 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Nov 30 10:01:40 2009 +0000

    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 <u.kleine-koenig at pengutronix.de>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/excite_nandflash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/excite_nandflash.c b/drivers/mtd/nand/excite_nandflash.c
index 72446fb..af6a6a5 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);
 



More information about the linux-mtd-cvs mailing list