ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed
authorCliff Cai <cliff.cai@analog.com>
Thu, 4 Sep 2008 08:25:54 +0000 (16:25 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 9 Sep 2008 07:10:54 +0000 (09:10 +0200)
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/ad1980.c
sound/soc/codecs/ad1980.h

index bfbab3d6c35ca02063b9f55029763e7d461fff3b..4e09c1f2c063a3f335188d043314ff0dd525f8ac 100644 (file)
@@ -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",
index 5d4710db83214fde6441dec2af07347ff287478c..db6c8500d66bb703d3b0f0e2d16d61aa1c78f90a 100644 (file)
@@ -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