get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e772aed369
commit
e55d92b92d
7 changed files with 9 additions and 13 deletions
|
@ -531,7 +531,7 @@ int __init snd_info_init(void)
|
|||
{
|
||||
struct proc_dir_entry *p;
|
||||
|
||||
p = create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL);
|
||||
p = proc_mkdir("asound", NULL);
|
||||
if (p == NULL)
|
||||
return -ENOMEM;
|
||||
snd_proc_root = p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue