aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-08-22 13:26:06 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-08-22 13:26:06 +0000
commit09e05d833df83203f92e3b22ff892af9aeeb8576 (patch)
tree9b6ac4b61f1df5afcbf4e81e0aa7ea928a01c2b7 /target/linux/generic/patches-2.6.34/080-mtd_plat_nand_chip_fixup.patch
parent9638e849667eb1167e1efeffe0f086ce5c324297 (diff)
downloadupstream-09e05d833df83203f92e3b22ff892af9aeeb8576.tar.gz
upstream-09e05d833df83203f92e3b22ff892af9aeeb8576.tar.bz2
upstream-09e05d833df83203f92e3b22ff892af9aeeb8576.zip
kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
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 16ce76ce8c..40cd42174f 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;
+ }