fix plat_nand compilation
Subsystems (2)
PATCH 1/1 fix plat_nand compilation
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 <[email protected]>
drivers/mtd/nand/plat_nand.c +0 -0
@@ -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,