]> err.no Git - linux-2.6/commitdiff
[ALSA] ASoC export AC97 DAI
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>
Mon, 16 Apr 2007 17:20:17 +0000 (19:20 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:56:02 +0000 (16:56 +0200)
This patch exports the ASoC AC97 Digital Audio Interface as a GPL'ed
symbol.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
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>
sound/soc/codecs/ac97.c
sound/soc/codecs/ac97.h

index 55bc55eb6e24a925f1db81869db3989cebee9ed7..0cdef971cbd395158932289f8dd743637afd9c34 100644 (file)
@@ -60,6 +60,7 @@ static struct snd_soc_codec_dai ac97_dai = {
        .ops = {
                .prepare = ac97_prepare,},
 };
+EXPORT_SYMBOL_GPL(ac97_dai);
 
 static unsigned int ac97_read(struct snd_soc_codec *codec,
        unsigned int reg)
index 930ddfc2321a01a3f9876a9bfea278bc16cc09c0..2bf6d69fd0692c204f3a3126edf3eb34ef39249a 100644 (file)
@@ -14,5 +14,6 @@
 #define __LINUX_SND_SOC_AC97_H
 
 extern struct snd_soc_codec_device soc_codec_dev_ac97;
+extern struct snd_soc_codec_dai ac97_dai;
 
 #endif