kernel: add pending mtd patches adding NVMEM support
[openwrt/staging/rmilecki.git] / target / linux / mvebu / patches-5.10 / 400-find_active_root.patch
index 9df99d69ae678c1ea265806d41906d5943494a9f..6146c8e03892af6a40d65a97eddc340de4715679 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))
-@@ -242,6 +249,18 @@ static int __init ofpart_parser_init(voi
+@@ -244,6 +251,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }