diff --git a/drivers/of/partition.c b/drivers/of/partition.c index b6621f7..bdf5945 100644 --- a/drivers/of/partition.c +++ b/drivers/of/partition.c @@ -80,6 +80,13 @@ return -EINVAL; for_each_child_of_node(node, n) { + if (of_device_is_compatible(n, "fixed-partitions")) { + node = n; + break; + } + } + + for_each_child_of_node(node, n) { of_parse_partition(cdev, n); }