[PATCH 2/3] ASoC: Export DAI and codec for TLV320AIC26

Grant Likely grant.likely at secretlab.ca
Wed Jul 23 07:25:37 EST 2008


On Tue, Jul 22, 2008 at 12:53:08PM +0100, Mark Brown wrote:
> This fixes sparse warnings and allows non-OpenFirmware systems to attempt
> to bind to the device.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Acked-by: Grant Likely <grant.likely at secretlab.ca>

> ---
>  sound/soc/codecs/tlv320aic26.c |    1 +
>  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 4621fda..73b7027 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 = {
>  	.probe = aic26_probe,
>  	.remove = aic26_remove,
>  };
> +EXPORT_SYMBOL_GPL(aic26_soc_codec_dev);
>  
>  /* ---------------------------------------------------------------------
>   * SPI device portion of driver: sysfs files for debugging
> diff --git a/sound/soc/codecs/tlv320aic26.h b/sound/soc/codecs/tlv320aic26.h
> index 62b1f22..786ba16 100644
> --- a/sound/soc/codecs/tlv320aic26.h
> +++ b/sound/soc/codecs/tlv320aic26.h
> @@ -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_ */
> -- 
> 1.5.6.3
> 



More information about the Linuxppc-dev mailing list