device property: Add fwnode_get_named_child_node()
[platform/kernel/linux-rpi.git] / include / linux / property.h
index f4786a8..514b195 100644 (file)
@@ -85,6 +85,8 @@ struct fwnode_handle *device_get_next_child_node(struct device *dev,
        for (child = device_get_next_child_node(dev, NULL); child;      \
             child = device_get_next_child_node(dev, child))
 
+struct fwnode_handle *fwnode_get_named_child_node(struct fwnode_handle *fwnode,
+                                                 const char *childname);
 struct fwnode_handle *device_get_named_child_node(struct device *dev,
                                                  const char *childname);