1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

kernel: update kernel version to 2.6.34.5

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke
2010-08-22 13:26:06 +00:00
parent 1b1535d5f9
commit eac32f68e6
27 changed files with 89 additions and 239 deletions

View File

@@ -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;
+ }