[ALSA] Fix disconnection of proc interface
[linux-block.git] / sound / core / timer.c
index 0a984e881c1089ee68ac4ca11c8ad98a82d0902e..52ecbe1e9abb10e19deaf829de3661e32b37ab10 100644 (file)
@@ -1126,7 +1126,7 @@ static void __init snd_timer_proc_init(void)
 
 static void __exit snd_timer_proc_done(void)
 {
-       snd_info_unregister(snd_timer_proc_entry);
+       snd_info_free_entry(snd_timer_proc_entry);
 }
 #else /* !CONFIG_PROC_FS */
 #define snd_timer_proc_init()