diff options
author | Cliff Cai <cliff.cai@analog.com> | 2008-09-04 04:25:54 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-09 03:10:54 -0400 |
commit | b1cd9b24e8b010847a081c88960f411bda736b37 (patch) | |
tree | 84d73e89459ccb79afde83827bcc038f137c92d5 /sound/soc | |
parent | ea88663cdcf64bfc14feaf033e902ce3c432156e (diff) |
ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/ad1980.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/ad1980.h | 2 |
2 files changed, 2 insertions, 2 deletions
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, | |||
141 | return 0; | 141 | return 0; |
142 | } | 142 | } |
143 | 143 | ||
144 | struct snd_soc_codec_dai ad1980_dai = { | 144 | struct snd_soc_dai ad1980_dai = { |
145 | .name = "AC97", | 145 | .name = "AC97", |
146 | .playback = { | 146 | .playback = { |
147 | .stream_name = "Playback", | 147 | .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 @@ | |||
17 | #define PR5 0x2000 | 17 | #define PR5 0x2000 |
18 | #define PR6 0x4000 | 18 | #define PR6 0x4000 |
19 | 19 | ||
20 | extern struct snd_soc_codec_dai ad1980_dai; | 20 | extern struct snd_soc_dai ad1980_dai; |
21 | extern struct snd_soc_codec_device soc_codec_dev_ad1980; | 21 | extern struct snd_soc_codec_device soc_codec_dev_ad1980; |
22 | 22 | ||
23 | #endif | 23 | #endif |