diff --git a/drivers/of/property.c b/drivers/of/property.c index 05e413605dba..c3cca636e8ea 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1323,7 +1323,7 @@ static int of_link_to_suppliers(struct device *dev, if (of_link_property(dev, con_np, p->name)) ret = -ENODEV; - for_each_child_of_node(con_np, child) + for_each_available_child_of_node(con_np, child) if (of_link_to_suppliers(dev, child) && !ret) ret = -EAGAIN;