kernel: add pending mtd patches adding NVMEM support
[openwrt/staging/rmilecki.git] / target / linux / mvebu / patches-5.4 / 400-find_active_root.patch
index 8475bec925cc40fb97bd5ce567613154a6a1f052..6ac777a1d2efe1672e5a58674dcabc81ca590644 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
        struct device_node *pp;
        int nr_parts, i, ret = 0;
        bool dedicated = true;
-@@ -124,9 +127,13 @@ static int parse_fixed_partitions(struct
+@@ -126,9 +129,13 @@ static int parse_fixed_partitions(struct
                parts[i].size = of_read_number(reg + a_cells, s_cells);
                parts[i].of_node = pp;
  
@@ -39,7 +39,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
                parts[i].name = partname;
  
                if (of_get_property(pp, "read-only", &len))
-@@ -239,6 +246,18 @@ static int __init ofpart_parser_init(voi
+@@ -241,6 +248,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }