kernel: add pending mtd patches adding NVMEM support
[openwrt/staging/rmilecki.git] / target / linux / kirkwood / patches-5.4 / 202-linksys-find-active-root.patch
index cc35583b984ec3ebb739d38661b8d22d7e7a61d3..3077e718c3075462e59676fb0d20f098d32d892c 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))
-@@ -239,6 +248,18 @@ static int __init ofpart_parser_init(voi
+@@ -241,6 +250,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }