kernel: refresh patches for kernel 4.4
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.4 / 100-find_active_root.patch
index cd5dd02f2e92e66d6cce4e0857757c6657ffa8f5..c997f5b342be17ef5b9ebbfe71fcf6402ad9f3a3 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;
-@@ -102,9 +105,15 @@ static int parse_ofpart_partitions(struc
+@@ -110,9 +113,15 @@ static int parse_ofpart_partitions(struc
                (*pparts)[i].offset = of_read_number(reg, a_cells);
                (*pparts)[i].size = of_read_number(reg + a_cells, s_cells);
  
@@ -41,7 +41,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
                (*pparts)[i].name = partname;
  
                if (of_get_property(pp, "read-only", &len))
-@@ -207,6 +216,18 @@ static int __init ofpart_parser_init(voi
+@@ -215,6 +224,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }