X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fcore%2Finfo.c;h=c67773ad9298076e701ea161b5f7c9ce3560da1e;hb=7540081c6b16dc941895bca840749cabfd0d3b48;hp=9977ec2eace35d547772db031c0db29bed15fe37;hpb=6208e77e7fa9e69f399fddc55b1cf9527fbde599;p=pandora-kernel.git diff --git a/sound/core/info.c b/sound/core/info.c index 9977ec2eace3..c67773ad9298 100644 --- a/sound/core/info.c +++ b/sound/core/info.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -544,7 +545,7 @@ int __init snd_info_init(void) { 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; @@ -594,7 +595,7 @@ int __exit snd_info_done(void) #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; }