git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proc: remove proc_root from drivers
[pandora-kernel.git]
/
sound
/
core
/
info.c
diff --git
a/sound/core/info.c
b/sound/core/info.c
index
9977ec2
..
cb5ead3
100644
(file)
--- a/
sound/core/info.c
+++ b/
sound/core/info.c
@@
-544,7
+544,7
@@
int __init snd_info_init(void)
{
struct proc_dir_entry *p;
{
struct proc_dir_entry *p;
- p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO,
&proc_root
);
+ p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO,
NULL
);
if (p == NULL)
return -ENOMEM;
snd_proc_root = p;
if (p == NULL)
return -ENOMEM;
snd_proc_root = p;
@@
-594,7
+594,7
@@
int __exit snd_info_done(void)
#ifdef CONFIG_SND_OSSEMUL
snd_info_free_entry(snd_oss_root);
#endif
#ifdef CONFIG_SND_OSSEMUL
snd_info_free_entry(snd_oss_root);
#endif
- snd_remove_proc_entry(
&proc_root
, snd_proc_root);
+ snd_remove_proc_entry(
NULL
, snd_proc_root);
}
return 0;
}
}
return 0;
}