diff options
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r-- | include/linux/proc_fs.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index e4a8f9aef188..d6a4f69bdc92 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -126,6 +126,9 @@ void de_put(struct proc_dir_entry *de); | |||
126 | 126 | ||
127 | extern struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, | 127 | extern struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, |
128 | struct proc_dir_entry *parent); | 128 | struct proc_dir_entry *parent); |
129 | struct proc_dir_entry *proc_create(const char *name, mode_t mode, | ||
130 | struct proc_dir_entry *parent, | ||
131 | const struct file_operations *proc_fops); | ||
129 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); | 132 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); |
130 | 133 | ||
131 | extern struct vfsmount *proc_mnt; | 134 | extern struct vfsmount *proc_mnt; |
@@ -220,7 +223,12 @@ static inline void proc_flush_task(struct task_struct *task) | |||
220 | 223 | ||
221 | static inline struct proc_dir_entry *create_proc_entry(const char *name, | 224 | static inline struct proc_dir_entry *create_proc_entry(const char *name, |
222 | mode_t mode, struct proc_dir_entry *parent) { return NULL; } | 225 | mode_t mode, struct proc_dir_entry *parent) { return NULL; } |
223 | 226 | static inline struct proc_dir_entry *proc_create(const char *name, | |
227 | mode_t mode, struct proc_dir_entry *parent, | ||
228 | const struct file_operations *proc_fops) | ||
229 | { | ||
230 | return NULL; | ||
231 | } | ||
224 | #define remove_proc_entry(name, parent) do {} while (0) | 232 | #define remove_proc_entry(name, parent) do {} while (0) |
225 | 233 | ||
226 | static inline struct proc_dir_entry *proc_symlink(const char *name, | 234 | static inline struct proc_dir_entry *proc_symlink(const char *name, |