kernel: add pending mtd patches adding NVMEM support
[openwrt/staging/rmilecki.git] / target / linux / kirkwood / patches-5.10 / 202-linksys-find-active-root.patch
index 2d1f769e968ff842f7870c214aae78f5470c926f..214a0cd649475beca45c5a0c3bced2fd87a82b3b 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
        const char *partname;
        struct device_node *pp;
        int nr_parts, i, ret = 0;
-@@ -124,9 +127,15 @@ static int parse_fixed_partitions(struct
+@@ -126,9 +129,15 @@ static int parse_fixed_partitions(struct
                parts[i].size = of_read_number(reg + a_cells, s_cells);
                parts[i].of_node = pp;
  
@@ -41,7 +41,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
                parts[i].name = partname;
  
                if (of_get_property(pp, "read-only", &len))
-@@ -242,6 +251,18 @@ static int __init ofpart_parser_init(voi
+@@ -244,6 +253,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }