diff options
Diffstat (limited to 'sound/soc/au1x/psc-i2s.c')
-rw-r--r-- | sound/soc/au1x/psc-i2s.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c index 16f97462ea1..f916de4400e 100644 --- a/sound/soc/au1x/psc-i2s.c +++ b/sound/soc/au1x/psc-i2s.c | |||
@@ -396,11 +396,12 @@ EXPORT_SYMBOL(au1xpsc_i2s_dai); | |||
396 | static int __init au1xpsc_i2s_init(void) | 396 | static int __init au1xpsc_i2s_init(void) |
397 | { | 397 | { |
398 | au1xpsc_i2s_workdata = NULL; | 398 | au1xpsc_i2s_workdata = NULL; |
399 | return 0; | 399 | return snd_soc_register_dai(&au1xpsc_i2s_dai); |
400 | } | 400 | } |
401 | 401 | ||
402 | static void __exit au1xpsc_i2s_exit(void) | 402 | static void __exit au1xpsc_i2s_exit(void) |
403 | { | 403 | { |
404 | snd_soc_unregister_dai(&au1xpsc_i2s_dai); | ||
404 | } | 405 | } |
405 | 406 | ||
406 | module_init(au1xpsc_i2s_init); | 407 | module_init(au1xpsc_i2s_init); |