projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
[linux-2.6-block.git]
/
sound
/
core
/
info.c
diff --git
a/sound/core/info.c
b/sound/core/info.c
index 7077f601da5a66a279bed9be77159f2ec80dfc78..601f0ebb677ba7348abb41130a1fbd28952c919d 100644
(file)
--- a/
sound/core/info.c
+++ b/
sound/core/info.c
@@
-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;