]> Pileus Git - ~andy/linux/blobdiff - sound/core/seq/seq_device.c
[ALSA] Fix disconnection of proc interface
[~andy/linux] / sound / core / seq / seq_device.c
index 102ff548ce6931df6ec5e946c5df04138cb63734..b85954e956d476b6241a0a4f0c0393ae2dcbc496 100644 (file)
@@ -573,7 +573,7 @@ static void __exit alsa_seq_device_exit(void)
 {
        remove_drivers();
 #ifdef CONFIG_PROC_FS
-       snd_info_unregister(info_entry);
+       snd_info_free_entry(info_entry);
 #endif
        if (num_ops)
                snd_printk(KERN_ERR "drivers not released (%d)\n", num_ops);