aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index a0f129284948..2d25ff8fe39a 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -540,4 +540,14 @@ static inline int of_property_read_u32(const struct device_node *np,
540 return of_property_read_u32_array(np, propname, out_value, 1); 540 return of_property_read_u32_array(np, propname, out_value, 1);
541} 541}
542 542
543#if defined(CONFIG_PROC_FS) && defined(CONFIG_PROC_DEVICETREE)
544extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *);
545extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop);
546extern void proc_device_tree_remove_prop(struct proc_dir_entry *pde,
547 struct property *prop);
548extern void proc_device_tree_update_prop(struct proc_dir_entry *pde,
549 struct property *newprop,
550 struct property *oldprop);
551#endif
552
543#endif /* _LINUX_OF_H */ 553#endif /* _LINUX_OF_H */