mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-16 12:35:30 +08:00

Manually rebased: hack-5.15/780-usb-net-MeigLink_modem_support.patch Removed upstreamed: mpc85xx/patches-5.15/110-gpio-mpc8xxx-Fix-support-for-IRQ_TYPE_LEVEL_LOW-flow.patch All other patches automatically rebased. Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
27 lines
779 B
Diff
27 lines
779 B
Diff
--- a/drivers/mtd/mtdblock.c
|
|
+++ b/drivers/mtd/mtdblock.c
|
|
@@ -257,10 +257,6 @@ static int mtdblock_open(struct mtd_blkt
|
|
return 0;
|
|
}
|
|
|
|
- if (mtd_type_is_nand(mbd->mtd))
|
|
- pr_warn("%s: MTD device '%s' is NAND, please consider using UBI block devices instead.\n",
|
|
- mbd->tr->name, mbd->mtd->name);
|
|
-
|
|
/* OK, it's not open. Create cache info for it */
|
|
mtdblk->count = 1;
|
|
mutex_init(&mtdblk->cache_mutex);
|
|
--- a/drivers/mtd/mtdblock_ro.c
|
|
+++ b/drivers/mtd/mtdblock_ro.c
|
|
@@ -46,10 +46,6 @@ static void mtdblock_add_mtd(struct mtd_
|
|
dev->tr = tr;
|
|
dev->readonly = 1;
|
|
|
|
- if (mtd_type_is_nand(mtd))
|
|
- pr_warn("%s: MTD device '%s' is NAND, please consider using UBI block devices instead.\n",
|
|
- tr->name, mtd->name);
|
|
-
|
|
if (add_mtd_blktrans_dev(dev))
|
|
kfree(dev);
|
|
}
|