aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.12/440-block2mtd_init.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-10 14:43:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-10 14:43:17 +0000
commit550238fa72614802732a895ac0460f3c96b5c337 (patch)
treefda50f2f73fd091d02f9e46bf171541b387d5661 /target/linux/generic/patches-3.12/440-block2mtd_init.patch
parent7cdf7c14d6e32b40514059f8d219a86ed0eb381d (diff)
downloadmaster-187ad058-550238fa72614802732a895ac0460f3c96b5c337.tar.gz
master-187ad058-550238fa72614802732a895ac0460f3c96b5c337.tar.bz2
master-187ad058-550238fa72614802732a895ac0460f3c96b5c337.zip
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.12/440-block2mtd_init.patch')
-rw-r--r--target/linux/generic/patches-3.12/440-block2mtd_init.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.12/440-block2mtd_init.patch b/target/linux/generic/patches-3.12/440-block2mtd_init.patch
index 4617bf4170..198d9615b1 100644
--- a/target/linux/generic/patches-3.12/440-block2mtd_init.patch
+++ b/target/linux/generic/patches-3.12/440-block2mtd_init.patch
@@ -89,7 +89,7 @@
}
}
+ if (token[2] && (strlen(token[2]) + 1 > 80))
-+ parse_err("mtd device name too long");
++ pr_err("mtd device name too long\n");
- add_device(name, erase_size);
+ add_device(name, erase_size, token[2]);