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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user