mtd: move mxcnd_remove to .exit.text

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 18 17:59:01 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=82613b0da622efbd24cb7b23eb349966802310f1
Commit:     82613b0da622efbd24cb7b23eb349966802310f1
Parent:     e4af3bf6334341435740fce9ff236ba814686b99
Author:     Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
AuthorDate: Thu Oct 1 10:28:21 2009 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Oct 17 15:36:27 2009 +0100

    mtd: move mxcnd_remove to .exit.text
    
    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: Sascha Hauer <s.hauer at pengutronix.de>
    Cc: Vladimir Barinov <vova.barinov at gmail.com>
    Cc: Vladimir Barinov <vbarinov at embeddedalley.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 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);
 



More information about the linux-mtd-cvs mailing list