diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/proc_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index bae820742341..cb78d5be6859 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -67,6 +67,7 @@ struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, | |||
67 | struct proc_dir_entry *parent, | 67 | struct proc_dir_entry *parent, |
68 | const struct file_operations *proc_fops, | 68 | const struct file_operations *proc_fops, |
69 | void *data); | 69 | void *data); |
70 | extern void proc_remove(struct proc_dir_entry *); | ||
70 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); | 71 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); |
71 | extern int remove_proc_subtree(const char *name, struct proc_dir_entry *parent); | 72 | extern int remove_proc_subtree(const char *name, struct proc_dir_entry *parent); |
72 | 73 | ||
@@ -101,6 +102,7 @@ static inline struct proc_dir_entry *proc_create_data(const char *name, | |||
101 | { | 102 | { |
102 | return NULL; | 103 | return NULL; |
103 | } | 104 | } |
105 | static inline void proc_remove(struct proc_dir_entry *de) {} | ||
104 | #define remove_proc_entry(name, parent) do {} while (0) | 106 | #define remove_proc_entry(name, parent) do {} while (0) |
105 | #define remove_proc_subtree(name, parent) do {} while (0) | 107 | #define remove_proc_subtree(name, parent) do {} while (0) |
106 | 108 | ||