summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Girdwood2007-05-10 17:12:31 +0200
committerJaroslav Kysela2007-05-16 11:45:28 +0200
commit9ae67c7b870f5220a6b30e4f6e83b319bd9be718 (patch)
tree8cf460b0ae23822efea263b8fb2edd0404575898
parent[ALSA] hda-codec - Make the mixer capability check more robust (diff)
downloadkernel-qcow2-linux-9ae67c7b870f5220a6b30e4f6e83b319bd9be718.tar.gz
kernel-qcow2-linux-9ae67c7b870f5220a6b30e4f6e83b319bd9be718.tar.xz
kernel-qcow2-linux-9ae67c7b870f5220a6b30e4f6e83b319bd9be718.zip
[ALSA] ASoC AC97 static GPL symbol fix
This patch fixes a bug whereby the GPL'ed symbol ac97_dai was being declared as static. Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/soc/codecs/ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index 0cdef971cbd3..f3b3b9efbb61 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -43,7 +43,7 @@ static int ac97_prepare(struct snd_pcm_substream *substream)
#define STD_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
-static struct snd_soc_codec_dai ac97_dai = {
+struct snd_soc_codec_dai ac97_dai = {
.name = "AC97 HiFi",
.playback = {
.stream_name = "AC97 Playback",