summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-22 13:26:06 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-22 13:26:06 +0000
commiteac32f68e6ec9e247530ef6aa8eb23da984d1239 (patch)
tree108605e2f6ff4e21846d0f69ade88ebb76a890a3 /target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch
parent1b1535d5f9223ff338864505177a91f89f15be4f (diff)
kernel: update kernel version to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch4
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;
+ }