History

procfs: add stub for proc_mkdir_mode()

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'

Randy Dunlap committed 15 years ago

Commit f12a20f1 parent b2db2191 file · +2 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/linux/proc_fs.h+2−0
@@ -208,6 +208,8 @@ static inline struct proc_dir_entry *proc_symlink(const char *name, · 207 unmodified lines
208208 struct proc_dir_entry *parent,const char *dest) {return NULL;}
209209 static inline struct proc_dir_entry *proc_mkdir(const char *name,
210210 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; }
211213
212214 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
213215 mode_t mode, struct proc_dir_entry *base,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t