aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 02:07:46 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-24 10:12:33 -0400
commite55d92b92d240189241c22bfdfc885d4225a4d61 (patch)
treef29095ec817db02a1e40349b0c6b136e0172e2b4 /sound/core
parente772aed369779c98f44e83ccd7fb1b713953cd09 (diff)
downloadkernel_goldelico_gta04-e55d92b92d240189241c22bfdfc885d4225a4d61.zip
kernel_goldelico_gta04-e55d92b92d240189241c22bfdfc885d4225a4d61.tar.gz
kernel_goldelico_gta04-e55d92b92d240189241c22bfdfc885d4225a4d61.tar.bz2
get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index 7077f60..601f0eb 100644
--- 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;