diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 10 |
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) | ||
544 | extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *); | ||
545 | extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop); | ||
546 | extern void proc_device_tree_remove_prop(struct proc_dir_entry *pde, | ||
547 | struct property *prop); | ||
548 | extern 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 */ |