From 25a994fb7e9b93e8d0c2f4b92d64f02a863a8c84 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 11 Dec 2008 10:28:18 +0100 Subject: [PATCH] --- yaml --- r: 120313 b: refs/heads/master c: 6de45d5d776d2a7e7a9adc8ea49d37fe1bd45fb2 h: refs/heads/master i: 120311: 9a387c5b3f908c1a0eb2cd6c8f1b0a419ec08bc0 v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/s3c2443-ac97.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8b077a1af5bd..7e6c8aa93fc2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3b1228abc93f7ab0aa28c46341d6a0f7e2cade70 +refs/heads/master: 6de45d5d776d2a7e7a9adc8ea49d37fe1bd45fb2 diff --git a/trunk/sound/soc/s3c24xx/s3c2443-ac97.c b/trunk/sound/soc/s3c24xx/s3c2443-ac97.c index 723779a3058d..1bfce40bb2e4 100644 --- a/trunk/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/trunk/sound/soc/s3c24xx/s3c2443-ac97.c @@ -398,13 +398,15 @@ EXPORT_SYMBOL_GPL(soc_ac97_ops); static int __init s3c2443_ac97_init(void) { - return snd_soc_register_dai(&s3c2443_ac97_dai); + return snd_soc_register_dais(s3c2443_ac97_dai, + ARRAY_SIZE(s3c2443_ac97_dai)); } module_init(s3c2443_ac97_init); static void __exit s3c2443_ac97_exit(void) { - snd_soc_unregister_dai(&s3c2443_ac97_dai); + snd_soc_unregister_dais(s3c2443_ac97_dai, + ARRAY_SIZE(s3c2443_ac97_dai)); } module_exit(s3c2443_ac97_exit);