ramips: fix cd-poll sd card remove randomly
[openwrt/openwrt.git] / target / linux / generic / patches-4.9 / 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
index 25ded532e84b3c878cb94bb971d7512c72054b4f..e4f92379df317b82032609e2ef53ea168a9031d7 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +                  mtd->type == MTD_DATAFLASH ||
 +                  mtd->type == MTD_MLCNANDFLASH) {
 +                      mutex_lock(&ubi_devices_mutex);
-+                      pr_notice("UBI: auto-attach mtd%d", mtd->index);
++                      pr_notice("UBI: auto-attach mtd%d\n", mtd->index);
 +                      err = ubi_attach_mtd_dev(mtd, UBI_DEV_NUM_AUTO, 0, 0);
 +                      mutex_unlock(&ubi_devices_mutex);
 +                      if (err < 0) {