aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-11-03 05:10:53 -0500
committerMark Brown <broonie@kernel.org>2014-11-03 06:31:34 -0500
commitbf9706fe958469e7dfc6a9e16d9240892f055e62 (patch)
tree64a1030f9e871eb7fbd8e0450cc7812324714a3d
parentd004ebbef7292848f5f7ecae50824c04780baaac (diff)
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>
-rw-r--r--sound/soc/codecs/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 7881b3c35b4d..1e7a4173a3f9 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23
582 582
583config SND_SOC_TLV320AIC23_I2C 583config SND_SOC_TLV320AIC23_I2C
584 tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C" 584 tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
585 depends on I2C
585 select SND_SOC_TLV320AIC23 586 select SND_SOC_TLV320AIC23
586 587
587config SND_SOC_TLV320AIC23_SPI 588config SND_SOC_TLV320AIC23_SPI
588 tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI" 589 tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
590 depends on SPI_MASTER
589 select SND_SOC_TLV320AIC23 591 select SND_SOC_TLV320AIC23
590 592
591config SND_SOC_TLV320AIC26 593config SND_SOC_TLV320AIC26