kernel: drop unneeded modification of mtd_add_partition function
[openwrt.git] / target / linux / generic / patches-4.4 / 401-mtd-add-support-for-different-partition-parser-types.patch
index 95f20f7..7695d56 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -747,6 +747,30 @@ static struct mtd_part_parser *get_parti
+@@ -740,6 +740,30 @@ static struct mtd_part_parser *get_parti
  
  #define put_partition_parser(p) do { module_put((p)->owner); } while (0)
  
@@ -42,7 +42,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  void register_mtd_parser(struct mtd_part_parser *p)
  {
        spin_lock(&part_parser_lock);
-@@ -875,6 +899,38 @@ int parse_mtd_partitions(struct mtd_info
+@@ -868,6 +892,38 @@ int parse_mtd_partitions(struct mtd_info
        return err;
  }