Skip to contentSkip to conversation

ASoC AC97 static GPL symbol fix

PATCH Applied Liam Girdwood 2 participants 2 messages May 10, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC AC97 static GPL symbol fix

This patch fixes a bug whereby the GPL'ed symbol ac97_dai was being declared as static.

soc/codecs/ac97.c +1 -1
@@ -43,7 +43,7 @@ static int ac97_prepare(struct snd_pcm_s
 #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",

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Applied
#1 lore raw

At Thu, 10 May 2007 14:07:38 +0100,

Quoted 5 lines · Liam Girdwood

This patch fixes a bug whereby the GPL'ed symbol ac97_dai was being declared as static.

Applied to ALSA tree. Thanks.

Takashi