aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/s3c24xx/s3c2443-ac97.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c
index 723779a3058d..1bfce40bb2e4 100644
--- a/sound/soc/s3c24xx/s3c2443-ac97.c
+++ b/sound/soc/s3c24xx/s3c2443-ac97.c
@@ -398,13 +398,15 @@ EXPORT_SYMBOL_GPL(soc_ac97_ops);
398 398
399static int __init s3c2443_ac97_init(void) 399static int __init s3c2443_ac97_init(void)
400{ 400{
401 return snd_soc_register_dai(&s3c2443_ac97_dai); 401 return snd_soc_register_dais(s3c2443_ac97_dai,
402 ARRAY_SIZE(s3c2443_ac97_dai));
402} 403}
403module_init(s3c2443_ac97_init); 404module_init(s3c2443_ac97_init);
404 405
405static void __exit s3c2443_ac97_exit(void) 406static void __exit s3c2443_ac97_exit(void)
406{ 407{
407 snd_soc_unregister_dai(&s3c2443_ac97_dai); 408 snd_soc_unregister_dais(s3c2443_ac97_dai,
409 ARRAY_SIZE(s3c2443_ac97_dai));
408} 410}
409module_exit(s3c2443_ac97_exit); 411module_exit(s3c2443_ac97_exit);
410 412