diff options
Diffstat (limited to 'sound/core/rtctimer.c')
-rw-r--r-- | sound/core/rtctimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/rtctimer.c b/sound/core/rtctimer.c index 84704ccb1829..412dd62b654e 100644 --- a/sound/core/rtctimer.c +++ b/sound/core/rtctimer.c | |||
@@ -156,7 +156,7 @@ static int __init rtctimer_init(void) | |||
156 | static void __exit rtctimer_exit(void) | 156 | static void __exit rtctimer_exit(void) |
157 | { | 157 | { |
158 | if (rtctimer) { | 158 | if (rtctimer) { |
159 | snd_timer_global_unregister(rtctimer); | 159 | snd_timer_global_free(rtctimer); |
160 | rtctimer = NULL; | 160 | rtctimer = NULL; |
161 | } | 161 | } |
162 | } | 162 | } |