Skip to contentSkip to conversation

ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER

PATCH Applied Max Filippov 2 participants 2 messages Nov 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER

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

---
 sound/soc/codecs/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/codecs/Kconfig +2 -0
index 7dad805..b0bcd0d 100644
@@ -553,10 +553,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
Signature · 1 line
1.8.1.4
maintainer Applied
#1 lore raw
Quoted 1 line · Max Filippov

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

Applied, thanks.