]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: ASoC: Export DAI and codec for TLV320AIC26
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Jul 2008 10:42:32 +0000 (11:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 29 Jul 2008 19:32:25 +0000 (21:32 +0200)
This fixes sparse warnings and allows non-OpenFirmware systems to attempt
to bind to the device.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/tlv320aic26.c
sound/soc/codecs/tlv320aic26.h

index 4621fda5705e9baaed8a28b954a82e9f3eb1396f..73b70271e58c38a36f8a88650d155049a01e2a13 100644 (file)
@@ -383,6 +383,7 @@ struct snd_soc_codec_device aic26_soc_codec_dev = {
        .probe = aic26_probe,
        .remove = aic26_remove,
 };
+EXPORT_SYMBOL_GPL(aic26_soc_codec_dev);
 
 /* ---------------------------------------------------------------------
  * SPI device portion of driver: sysfs files for debugging
index 62b1f2261429cf8c25747b5ecb4c4554c5b6d71f..786ba16c945fa13728e2169baab21f5a3ffadfcc 100644 (file)
@@ -90,4 +90,7 @@ enum aic26_wlen {
        AIC26_WLEN_32   = 3 << 10,
 };
 
+extern struct snd_soc_dai aic26_dai;
+extern struct snd_soc_codec_device aic26_soc_codec_dev;
+
 #endif /* _TLV320AIC16_H_ */