From: Alexandros C. Couloumbis Date: Wed, 9 Jun 2010 15:14:12 +0000 (+0000) Subject: generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e5f4450b5c330297a2067fead5ff946f3905819;p=openwrt%2Fstaging%2Fjow.git generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch SVN-Revision: 21735 --- diff --git a/target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch b/target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch index 16ce76ce8c..6ea82d96aa 100644 --- a/target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch +++ b/target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch @@ -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; + }