kernel: backport mtd patch adding of_platform_populate() calls
[openwrt/openwrt.git] / target / linux / generic / hack-5.10 / 420-mtd-set-rootfs-to-be-root-dev.patch
index b071ac61ecfe0abd50b9ed39d99dffa756060912..d34306b7fc884d711de2d539ef42e6507c0b9565 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  #include <linux/nvmem-provider.h>
  
  #include <linux/mtd/mtd.h>
-@@ -694,6 +695,19 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -704,6 +705,19 @@ int add_mtd_device(struct mtd_info *mtd)
           of this try_ nonsense, and no bitching about it
           either. :) */
        __module_get(THIS_MODULE);