kernel: rewrite run_parsers_by_type() to use add_mtd_partitions()
[openwrt/staging/luka.git] / target / linux / generic / pending-4.14 / 404-mtd-add-more-helper-functions.patch
index 7b481ffb47a57980feb215a6afa56381e734017a..d1a32872af21c1c4ee763ab5bab549146a955f64 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -1260,6 +1260,24 @@ int mtd_is_partition(const struct mtd_in
+@@ -1251,6 +1251,24 @@ int mtd_is_partition(const struct mtd_in
  }
  EXPORT_SYMBOL_GPL(mtd_is_partition);