* [PATCH] fix plat_nand compilation
@ 2007-05-31 12:33 Vitaly Wool
0 siblings, 0 replies; only message in thread
From: Vitaly Wool @ 2007-05-31 12:33 UTC (permalink / raw)
To: linux-mtd
Hi,
this patch fixes plat_nand compilation problem with modern gcc compilers.
drivers/mtd/nand/plat_nand.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Index: linux-2.6/drivers/mtd/nand/plat_nand.c
===================================================================
--- linux-2.6.orig/drivers/mtd/nand/plat_nand.c
+++ linux-2.6/drivers/mtd/nand/plat_nand.c
@@ -125,7 +125,7 @@ static int __devexit plat_nand_remove(st
static struct platform_driver plat_nand_driver = {
.probe = plat_nand_probe,
- .remove = plat_nand_remove,
+ .remove = __devexit_p(plat_nand_remove),
.driver = {
.name = "gen_nand",
.owner = THIS_MODULE,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-31 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 12:33 [PATCH] fix plat_nand compilation Vitaly Wool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).