[ALSA] Fix disconnection of proc interface
[deliverable/linux.git] / sound / core / hwdep.c
index 8bd0dcc93eba98f787664085bf9734f2ed89f05d..cbd8a63282b69bda289068b5717714094d018e4e 100644 (file)
@@ -497,7 +497,7 @@ static void __init snd_hwdep_proc_init(void)
 
 static void __exit snd_hwdep_proc_done(void)
 {
-       snd_info_unregister(snd_hwdep_proc_entry);
+       snd_info_free_entry(snd_hwdep_proc_entry);
 }
 #else /* !CONFIG_PROC_FS */
 #define snd_hwdep_proc_init()
This page took 0.024288 seconds and 5 git commands to generate.