x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.12 / 440-block2mtd_init.patch
index 4617bf41701740a308f27fd8c534459fa83eb93d..198d9615b1a39d02f6b2d49903926c2369892223 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]);