Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1cd9b24 authored by Cliff Cai's avatar Cliff Cai Committed by Jaroslav Kysela
Browse files

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



Signed-off-by: default avatarCliff Cai <cliff.cai@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent ea88663c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
+1 −1
Original line number Diff line number Diff line
@@ -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