[ALSA] Add missing compat ioctls for ALSA control API
[cascardo/linux.git] / sound / core / rtctimer.c
index 84704cc..412dd62 100644 (file)
@@ -156,7 +156,7 @@ static int __init rtctimer_init(void)
 static void __exit rtctimer_exit(void)
 {
        if (rtctimer) {
-               snd_timer_global_unregister(rtctimer);
+               snd_timer_global_free(rtctimer);
                rtctimer = NULL;
        }
 }