diff options
Diffstat (limited to 'sound/core/info.c')
-rw-r--r-- | sound/core/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/info.c b/sound/core/info.c index 9977ec2eace3..cb5ead3e202d 100644 --- a/sound/core/info.c +++ b/sound/core/info.c | |||
@@ -544,7 +544,7 @@ int __init snd_info_init(void) | |||
544 | { | 544 | { |
545 | struct proc_dir_entry *p; | 545 | struct proc_dir_entry *p; |
546 | 546 | ||
547 | p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, &proc_root); | 547 | p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL); |
548 | if (p == NULL) | 548 | if (p == NULL) |
549 | return -ENOMEM; | 549 | return -ENOMEM; |
550 | snd_proc_root = p; | 550 | snd_proc_root = p; |
@@ -594,7 +594,7 @@ int __exit snd_info_done(void) | |||
594 | #ifdef CONFIG_SND_OSSEMUL | 594 | #ifdef CONFIG_SND_OSSEMUL |
595 | snd_info_free_entry(snd_oss_root); | 595 | snd_info_free_entry(snd_oss_root); |
596 | #endif | 596 | #endif |
597 | snd_remove_proc_entry(&proc_root, snd_proc_root); | 597 | snd_remove_proc_entry(NULL, snd_proc_root); |
598 | } | 598 | } |
599 | return 0; | 599 | return 0; |
600 | } | 600 | } |