소스 검색

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"