summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/proc_fs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 65f18e551529..abcfc4bca268 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -206,14 +206,13 @@ static inline struct proc_dir_entry *create_proc_entry(const char *name,
#define remove_proc_entry(name, parent) do {} while (0)
static inline struct proc_dir_entry *proc_symlink(const char *name,
- struct proc_dir_entry *parent,char *dest) {return NULL;}
+ struct proc_dir_entry *parent,const char *dest) {return NULL;}
static inline struct proc_dir_entry *proc_mkdir(const char *name,
struct proc_dir_entry *parent) {return NULL;}
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
mode_t mode, struct proc_dir_entry *base,
- int (*read_proc)(char *, char **, off_t, int, int *, void *),
- void * data) { return NULL; }
+ read_proc_t *read_proc, void * data) { return NULL; }
static inline struct proc_dir_entry *create_proc_info_entry(const char *name,
mode_t mode, struct proc_dir_entry *base, get_info_t *get_info)
{ return NULL; }