mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
airo: correct proc entry creation interfaces
* use proc_mkdir_mode() instead of create_proc_entry(S_IFDIR|...), export proc_mkdir_mode() for that, oh well. * don't supply S_IFREG to proc_create_data(), it's unnecessary Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
9368a9a237
commit
011159a0a7
2 changed files with 12 additions and 22 deletions
|
|
@ -674,6 +674,7 @@ struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode,
|
|||
}
|
||||
return ent;
|
||||
}
|
||||
EXPORT_SYMBOL(proc_mkdir_mode);
|
||||
|
||||
struct proc_dir_entry *proc_net_mkdir(struct net *net, const char *name,
|
||||
struct proc_dir_entry *parent)
|
||||
|
|
|
|||
Loading…
Reference in a new issue