summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch2
1 files changed, 1 insertions, 1 deletions
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 16ce76c..6ea82d9 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;
+ }