diff options
| author | Dave C Boutcher <sleddog@us.ibm.com> | 2006-01-12 17:07:17 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-01-13 05:02:13 -0500 |
| commit | 898b5395e915210f41223caa30312994d64cba1d (patch) | |
| tree | 018455c4268293f308d1e2fcde0dc01005c73722 /include/linux/proc_fs.h | |
| parent | 43ccf202214067f12af5d7a6e144e18bb35553a9 (diff) | |
[PATCH] powerpc: Add/remove/update properties in /proc/device-tree
Add support to the proc_device_tree file for removing
and updating properties. Remove just removes the
proc file, update changes the data pointer within
the proc file. The remainder of the device-tree
changes occur elsewhere.
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/proc_fs.h')
| -rw-r--r-- | include/linux/proc_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 74488e4916..aa6322d451 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
| @@ -146,6 +146,11 @@ struct property; | |||
| 146 | extern void proc_device_tree_init(void); | 146 | extern void proc_device_tree_init(void); |
| 147 | extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *); | 147 | extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *); |
| 148 | extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop); | 148 | extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop); |
| 149 | extern void proc_device_tree_remove_prop(struct proc_dir_entry *pde, | ||
| 150 | struct property *prop); | ||
| 151 | extern void proc_device_tree_update_prop(struct proc_dir_entry *pde, | ||
| 152 | struct property *newprop, | ||
| 153 | struct property *oldprop); | ||
| 149 | #endif /* CONFIG_PROC_DEVICETREE */ | 154 | #endif /* CONFIG_PROC_DEVICETREE */ |
| 150 | 155 | ||
| 151 | extern struct proc_dir_entry *proc_symlink(const char *, | 156 | extern struct proc_dir_entry *proc_symlink(const char *, |
