of: make __of_attach_node() static
__of_attach_node() is not used outside of drivers/of/dynamic.c. Make it static and remove it from drivers/of/of_private.h. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:

committed by
Rob Herring

parent
7602f422cf
commit
249969514e
@@ -90,7 +90,6 @@ extern int __of_update_property(struct device_node *np,
|
||||
extern void __of_update_property_sysfs(struct device_node *np,
|
||||
struct property *newprop, struct property *oldprop);
|
||||
|
||||
extern void __of_attach_node(struct device_node *np);
|
||||
extern int __of_attach_node_sysfs(struct device_node *np);
|
||||
extern void __of_detach_node(struct device_node *np);
|
||||
extern void __of_detach_node_sysfs(struct device_node *np);
|
||||
|
Reference in New Issue
Block a user