generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.35 / 080-mtd_plat_nand_chip_fixup.patch
index 16ce76ce8cae370fab1a50c989cd207b5eed8121..6ea82d96aad11eab7a5806b5b0d751806d0094fe 100644 (file)
@@ -15,7 +15,7 @@
  
        /* Scan to find existance of the device */
 -      if (nand_scan(&data->mtd, 1)) {
-+      if (nand_scan_ident(&data->mtd, 1)) {
++      if (nand_scan_ident(&data->mtd, 1, NULL)) {
 +              res = -ENXIO;
 +              goto out;
 +      }