Browse Source

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 <broonie@linaro.org>
Mark Brown 11 years ago
parent
commit
e479d85ced
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/Kconfig

+ 1 - 1
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"