ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER

This fixes build errors in configurations with I2C/SPI master disabled.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Max Filippov 2014-11-03 13:10:53 +03:00 коммит произвёл Mark Brown
Родитель d004ebbef7
Коммит bf9706fe95
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_I2C
tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
depends on I2C
select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_SPI
tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
depends on SPI_MASTER
select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC26