Provide a stub for proc_mkdir_mode() when CONFIG_PROC_FS is not enabled, just like the stub for proc_mkdir(). Fixes this linux-next build error: drivers/net/wireless/airo.c:4504: error: implicit declaration of function 'proc_mkdir_mode'
Unified · Split
| @@ -208,6 +208,8 @@ static inline struct proc_dir_entry *proc_symlink(const char *name, · 207 unmodified lines | ||
| 208 | 208 | struct proc_dir_entry *parent,const char *dest) {return NULL;} |
| 209 | 209 | static inline struct proc_dir_entry *proc_mkdir(const char *name, |
| 210 | 210 | struct proc_dir_entry *parent) {return NULL;} |
| 211 | +static inline struct proc_dir_entry *proc_mkdir_mode(const char *name, | |
| 212 | + mode_t mode, struct proc_dir_entry *parent) { return NULL; } | |
| 211 | 213 | |
| 212 | 214 | static inline struct proc_dir_entry *create_proc_read_entry(const char *name, |
| 213 | 215 | mode_t mode, struct proc_dir_entry *base, |