aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.13/440-block2mtd_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.13/440-block2mtd_init.patch')
-rw-r--r--target/linux/generic/patches-3.13/440-block2mtd_init.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.13/440-block2mtd_init.patch b/target/linux/generic/patches-3.13/440-block2mtd_init.patch
index 2818bb9369..4af7c1bb1c 100644
--- a/target/linux/generic/patches-3.13/440-block2mtd_init.patch
+++ b/target/linux/generic/patches-3.13/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]);