kernel: backport support for "linux,rootfs" in DT
[openwrt/openwrt.git] / target / linux / generic / hack-5.10 / 402-mtd-blktrans-call-add-disks-after-mtd-device.patch
index a650320cd0a098a52ff410648599a9a09b3c0162..dc342da831708e00c242d0097b374ac30bc4bbac 100644 (file)
@@ -69,7 +69,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
        unsigned long flags;
 --- a/drivers/mtd/mtdcore.c
 +++ b/drivers/mtd/mtdcore.c
-@@ -31,6 +31,7 @@
+@@ -32,6 +32,7 @@
  
  #include <linux/mtd/mtd.h>
  #include <linux/mtd/partitions.h>
@@ -77,7 +77,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  
  #include "mtdcore.h"
  
-@@ -916,6 +917,8 @@ int mtd_device_parse_register(struct mtd
+@@ -928,6 +929,8 @@ int mtd_device_parse_register(struct mtd
                register_reboot_notifier(&mtd->reboot_notifier);
        }