generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Jun 2010 15:14:12 +0000 (15:14 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Jun 2010 15:14:12 +0000 (15:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch

index 16ce76c..6ea82d9 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;
 +      }