diff options
Diffstat (limited to 'target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch b/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch index 16ce76ce8..40cd42174 100644 --- a/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch +++ b/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch @@ -14,8 +14,8 @@ } /* Scan to find existance of the device */ -- if (nand_scan(&data->mtd, 1)) { -+ if (nand_scan_ident(&data->mtd, 1)) { +- if (nand_scan(&data->mtd, pdata->chip.nr_chips)) { ++ if (nand_scan_ident(&data->mtd, pdata->chip.nr_chips)) { + res = -ENXIO; + goto out; + } |