aboutsummaryrefslogtreecommitdiff
path: root/sound/core/seq/seq_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/seq/seq_info.c')
-rw-r--r--sound/core/seq/seq_info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/core/seq/seq_info.c b/sound/core/seq/seq_info.c
index 142e9e6882c..acf7769419f 100644
--- a/sound/core/seq/seq_info.c
+++ b/sound/core/seq/seq_info.c
@@ -19,8 +19,8 @@
*
*/
-#include <sound/driver.h>
#include <linux/init.h>
+#include <linux/export.h>
#include <sound/core.h>
#include "seq_info.h"
@@ -64,9 +64,9 @@ int __init snd_seq_info_init(void)
int __exit snd_seq_info_done(void)
{
- snd_info_unregister(queues_entry);
- snd_info_unregister(clients_entry);
- snd_info_unregister(timer_entry);
+ snd_info_free_entry(queues_entry);
+ snd_info_free_entry(clients_entry);
+ snd_info_free_entry(timer_entry);
return 0;
}
#endif