瀏覽代碼

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 年之前
父節點
當前提交
e479d85ced
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"