diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-07-29 06:42:32 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-29 15:32:25 -0400 |
commit | ecb0b3f62762cec4fd02eb6b0375aee1f5a49520 (patch) | |
tree | b4129f8873ba0ac7ccc5071f0ba39b5db6c669a0 | |
parent | d8e3bb7385da0bcdda4ffa600489fa1439b14673 (diff) |
ALSA: ASoC: Export DAI and codec for TLV320AIC26
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>
-rw-r--r-- | sound/soc/codecs/tlv320aic26.c | 1 | ||||
-rw-r--r-- | sound/soc/codecs/tlv320aic26.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c index 4621fda5705e..73b70271e58c 100644 --- a/sound/soc/codecs/tlv320aic26.c +++ b/sound/soc/codecs/tlv320aic26.c | |||
@@ -383,6 +383,7 @@ struct snd_soc_codec_device aic26_soc_codec_dev = { | |||
383 | .probe = aic26_probe, | 383 | .probe = aic26_probe, |
384 | .remove = aic26_remove, | 384 | .remove = aic26_remove, |
385 | }; | 385 | }; |
386 | EXPORT_SYMBOL_GPL(aic26_soc_codec_dev); | ||
386 | 387 | ||
387 | /* --------------------------------------------------------------------- | 388 | /* --------------------------------------------------------------------- |
388 | * SPI device portion of driver: sysfs files for debugging | 389 | * SPI device portion of driver: sysfs files for debugging |
diff --git a/sound/soc/codecs/tlv320aic26.h b/sound/soc/codecs/tlv320aic26.h index 62b1f2261429..786ba16c945f 100644 --- a/sound/soc/codecs/tlv320aic26.h +++ b/sound/soc/codecs/tlv320aic26.h | |||
@@ -90,4 +90,7 @@ enum aic26_wlen { | |||
90 | AIC26_WLEN_32 = 3 << 10, | 90 | AIC26_WLEN_32 = 3 << 10, |
91 | }; | 91 | }; |
92 | 92 | ||
93 | extern struct snd_soc_dai aic26_dai; | ||
94 | extern struct snd_soc_codec_device aic26_soc_codec_dev; | ||
95 | |||
93 | #endif /* _TLV320AIC16_H_ */ | 96 | #endif /* _TLV320AIC16_H_ */ |