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