[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 55bc55e..0cdef97 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 930ddfc..2bf6d69 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