From: Mark Brown Date: Fri, 7 Feb 2014 15:57:50 +0000 (+0000) Subject: ASoC: wm8770: Depend on SPI only X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e479d85ced01ea7f85c7dd21dc858af25f1493b4;p=deliverable%2Flinux.git ASoC: wm8770: Depend on SPI only The device has no I2C support so it shouldn't be buildable if only I2C is enabled. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 7da528a2c1c5..a6afdf5004cb 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -474,7 +474,7 @@ config SND_SOC_WM8753 config SND_SOC_WM8770 tristate "Wolfson Microelectronics WM8770 CODEC" - depends on SND_SOC_I2C_AND_SPI + depends on SPI_MASTER config SND_SOC_WM8776 tristate "Wolfson Microelectronics WM8776 CODEC"