Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 13/38] don't use __exit_p to wrap mxcnd_remove

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


u.kleine-koenig at pengutronix

Nov 24, 2009, 1:07 PM

Post #1 of 1 (25 views)
Permalink
[PATCH 13/38] don't use __exit_p to wrap mxcnd_remove

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>
Cc: David Woodhouse <dwmw2 [at] infradead>
Cc: David Woodhouse <David.Woodhouse [at] intel>
Cc: Artem Bityutskiy <Artem.Bityutskiy [at] nokia>
Cc: Sascha Hauer <s.hauer [at] pengutronix>
Cc: Vladimir Barinov <vova.barinov [at] gmail>
Cc: Vladimir Barinov <vbarinov [at] embeddedalley>
Cc: linux-mtd [at] lists
Cc: linux-kernel [at] vger
Cc: Eric Benard <ebenard [at] eukrea>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.