From: Cliff Cai Date: Thu, 4 Sep 2008 08:25:54 +0000 (+0800) Subject: ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed X-Git-Tag: v2.6.28-rc1~20^2~156 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1cd9b24e8b010847a081c88960f411bda736b37;p=platform%2Fkernel%2Flinux-stable.git ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed Signed-off-by: Cliff Cai Signed-off-by: Bryan Wu Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c index bfbab3d6c35c..4e09c1f2c063 100644 --- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c @@ -141,7 +141,7 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } -struct snd_soc_codec_dai ad1980_dai = { +struct snd_soc_dai ad1980_dai = { .name = "AC97", .playback = { .stream_name = "Playback", diff --git a/sound/soc/codecs/ad1980.h b/sound/soc/codecs/ad1980.h index 5d4710db8321..db6c8500d66b 100644 --- a/sound/soc/codecs/ad1980.h +++ b/sound/soc/codecs/ad1980.h @@ -17,7 +17,7 @@ #define PR5 0x2000 #define PR6 0x4000 -extern struct snd_soc_codec_dai ad1980_dai; +extern struct snd_soc_dai ad1980_dai; extern struct snd_soc_codec_device soc_codec_dev_ad1980; #endif