kernel: mtd: backport extended dynamic partitions support
[openwrt/openwrt.git] / target / linux / generic / hack-5.10 / 420-mtd-set-rootfs-to-be-root-dev.patch
index 5529bba12c6d3e30b1d80121a7e9dc06d08f4b43..fa3b175dcf0748fd43b5e8c7ce6e8bfaa66af47c 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  #include <linux/nvmem-provider.h>
  
  #include <linux/mtd/mtd.h>
-@@ -767,6 +768,19 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -759,6 +760,19 @@ int add_mtd_device(struct mtd_info *mtd)
           of this try_ nonsense, and no bitching about it
           either. :) */
        __module_get(THIS_MODULE);