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;
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;
}