提交 b1cd9b24 编写于 作者: C Cliff Cai 提交者: Jaroslav Kysela

ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed

Signed-off-by: NCliff Cai <cliff.cai@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 ea88663c
......@@ -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",
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册