Skip to content

Commit

Permalink
ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Cliff Cai authored and Jaroslav Kysela committed Sep 9, 2008
1 parent ea88663 commit b1cd9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/ad1980.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/codecs/ad1980.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b1cd9b2

Please sign in to comment.