x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
[openwrt.git] / target / linux / generic / patches-3.14 / 440-block2mtd_init.patch
index 2818bb93695dbc37b8bd34d3d598a0fb8a7b5492..4af7c1bb1c264a1162acafa002afee311bd43caa 100644 (file)
@@ -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]);