diff options
Diffstat (limited to 'sound/soc/au1x/psc-ac97.c')
-rw-r--r-- | sound/soc/au1x/psc-ac97.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c index a1e824d29cf..f0e30aec7f2 100644 --- a/sound/soc/au1x/psc-ac97.c +++ b/sound/soc/au1x/psc-ac97.c | |||
@@ -371,11 +371,12 @@ EXPORT_SYMBOL_GPL(au1xpsc_ac97_dai); | |||
371 | static int __init au1xpsc_ac97_init(void) | 371 | static int __init au1xpsc_ac97_init(void) |
372 | { | 372 | { |
373 | au1xpsc_ac97_workdata = NULL; | 373 | au1xpsc_ac97_workdata = NULL; |
374 | return 0; | 374 | return snd_soc_register_dai(&au1xpsc_ac97_dai); |
375 | } | 375 | } |
376 | 376 | ||
377 | static void __exit au1xpsc_ac97_exit(void) | 377 | static void __exit au1xpsc_ac97_exit(void) |
378 | { | 378 | { |
379 | snd_soc_unregister_dai(&au1xpsc_ac97_dai); | ||
379 | } | 380 | } |
380 | 381 | ||
381 | module_init(au1xpsc_ac97_init); | 382 | module_init(au1xpsc_ac97_init); |