linux/sound/soc/imx
Axel Lin 570a2429e9 ASoC: Make SND_SOC_MX27VIS_AIC32X4 depend on I2C
SND_SOC_MX27VIS_AIC32X4 selects SND_SOC_TLV320AIC32X4,
but SND_SOC_TLV320AIC32X4 needs CONFIG_I2C.
So we need to make SND_SOC_MX27VIS_AIC32X4 depend on I2C.
otherwise I got below build error if CONFIG_I2C is not selected.

  CC      sound/soc/codecs/tlv320aic32x4.o
sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_read':
sound/soc/codecs/tlv320aic32x4.c:323: error: implicit declaration of function 'i2c_smbus_read_byte_data'
sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_probe':
sound/soc/codecs/tlv320aic32x4.c:641: error: 'i2c_master_send' undeclared (first use in this function)
sound/soc/codecs/tlv320aic32x4.c:641: error: (Each undeclared identifier is reported only once
sound/soc/codecs/tlv320aic32x4.c:641: error: for each function it appears in.)
sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_modinit':
sound/soc/codecs/tlv320aic32x4.c:763: error: implicit declaration of function 'i2c_add_driver'
sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_exit':
sound/soc/codecs/tlv320aic32x4.c:774: error: implicit declaration of function 'i2c_del_driver'
make[3]: *** [sound/soc/codecs/tlv320aic32x4.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-12-04 23:47:16 +00:00
..
Kconfig ASoC: Make SND_SOC_MX27VIS_AIC32X4 depend on I2C 2011-12-04 23:47:16 +00:00
Makefile ASoC: Add machine driver for Visstrim_M10 board. 2011-03-07 11:48:18 +00:00
eukrea-tlv320.c Merge branch 'for-2.6.38' into for-2.6.39 2011-02-26 09:50:01 +00:00
imx-pcm-dma-mx2.c Merge branch 'fixes-for-arnd' of git://git.pengutronix.de/git/imx/linux-2.6 into imx/fixes 2011-07-15 21:56:37 +02:00
imx-pcm-fiq.c ASoC: imx: Remove unused variable 'dai' 2011-10-05 17:16:58 +01:00
imx-ssi.c ASoC: imx: Remove unused variable 'dai' 2011-10-05 17:16:58 +01:00
imx-ssi.h ASoC: Remove unused function declaration in imx-ssi.h 2011-10-05 17:16:58 +01:00
mx27vis-aic32x4.c ASoC: Add machine driver for Visstrim_M10 board. 2011-03-07 11:48:18 +00:00
phycore-ac97.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-25 11:17:24 +00:00
wm1133-ev1.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00