const char *prop_name, int index);
};
-static const struct supplier_bindings bindings[] = {
+static const struct supplier_bindings of_supplier_bindings[] = {
{ .parse_prop = parse_clocks, },
{ .parse_prop = parse_interconnects, },
{ .parse_prop = parse_regulators, },
- {},
+ {}
};
/**
const char *prop_name)
{
struct device_node *phandle;
- const struct supplier_bindings *s = bindings;
+ const struct supplier_bindings *s = of_supplier_bindings;
unsigned int i = 0;
bool matched = false;
int ret = 0;
return ret;
}
-static int __of_link_to_suppliers(struct device *dev,
+static int of_link_to_suppliers(struct device *dev,
struct device_node *con_np)
{
struct device_node *child;
ret = -EAGAIN;
for_each_child_of_node(con_np, child)
- if (__of_link_to_suppliers(dev, child))
+ if (of_link_to_suppliers(dev, child))
ret = -EAGAIN;
return ret;
if (unlikely(!is_of_node(fwnode)))
return 0;
- return __of_link_to_suppliers(dev, to_of_node(fwnode));
+ return of_link_to_suppliers(dev, to_of_node(fwnode));
}
const struct fwnode_operations of_fwnode_ops = {