kernel: backport mtd dynamic partition patch
[openwrt/staging/aparcar.git] / target / linux / generic / hack-5.15 / 420-mtd-set-rootfs-to-be-root-dev.patch
index 4cefe35e555df6346f7cbb9aba3178700eb3f3e8..90254c63bfbc44baf57f67c8cedf9ca1f8da8260 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  #include <linux/nvmem-provider.h>
  
  #include <linux/mtd/mtd.h>
-@@ -707,6 +708,16 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -768,6 +769,16 @@ int add_mtd_device(struct mtd_info *mtd)
           of this try_ nonsense, and no bitching about it
           either. :) */
        __module_get(THIS_MODULE);