From: acoul 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: https://git.archive.openwrt.org/?a=commitdiff_plain;h=7a2322730e12e446d203a30cd92f7138d8043e68;p=openwrt.git generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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; + }