[PATCH 13/38] don't use __exit_p to wrap mxcnd_remove
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Tue Nov 24 16:07:08 EST 2009
The function mxcnd_remove is defined using __devexit, so don't use
__exit_p but __devexit_p to wrap it.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: David Woodhouse <David.Woodhouse at intel.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Vladimir Barinov <vova.barinov at gmail.com>
Cc: Vladimir Barinov <vbarinov at embeddedalley.com>
Cc: linux-mtd at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: Eric Benard <ebenard at eukrea.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..661d46a 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1113,7 +1113,7 @@ static struct platform_driver mxcnd_driver = {
.driver = {
.name = DRIVER_NAME,
},
- .remove = __exit_p(mxcnd_remove),
+ .remove = __devexit_p(mxcnd_remove),
.suspend = mxcnd_suspend,
.resume = mxcnd_resume,
};
--
1.6.5.2
More information about the linux-mtd
mailing list