X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fcore%2Finfo.c;h=c67773ad9298076e701ea161b5f7c9ce3560da1e;hb=7540081c6b16dc941895bca840749cabfd0d3b48;hp=1ffd29bb4cd06c25759d7959005d19e1ab1e0427;hpb=821f3eff7cdb9d6c7076effabd46c96c322daed1;p=pandora-kernel.git diff --git a/sound/core/info.c b/sound/core/info.c index 1ffd29bb4cd0..c67773ad9298 100644 --- a/sound/core/info.c +++ b/sound/core/info.c @@ -19,9 +19,9 @@ * */ -#include #include #include +#include #include #include #include @@ -545,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; @@ -595,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; }