[kernel] fix yaffs build failure on 2.6.28.2 (thanks to Alexandros C. Couloumbis...
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.27 / 080-mtd_plat_nand_chip_fixup.patch
index 2b8954c1fb4031ea82eefa21ca912c5fee2a9e3d..62d96ac5694afe37f8832525c2b51df6cffdc675 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/linux/mtd/nand.h
 +++ b/include/linux/mtd/nand.h
-@@ -578,6 +578,7 @@
+@@ -578,6 +578,7 @@ struct platform_nand_chip {
        int                     chip_delay;
        unsigned int            options;
        const char              **part_probe_types;
@@ -10,7 +10,7 @@
  
 --- a/drivers/mtd/nand/plat_nand.c
 +++ b/drivers/mtd/nand/plat_nand.c
-@@ -71,7 +71,18 @@
+@@ -71,7 +71,18 @@ static int __init plat_nand_probe(struct
        platform_set_drvdata(pdev, data);
  
        /* Scan to find existance of the device */