From: Mark Brown Date: Mon, 1 Sep 2008 17:46:57 +0000 (+0100) Subject: ALSA: ASoC: Make all codecs depend on rather than selecting I2C X-Git-Tag: v2.6.28-rc1~720^2~129 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7f9e9d761486e969af553bc352598c348ae7e51e;p=linux-2.6-omap-h63xx.git ALSA: ASoC: Make all codecs depend on rather than selecting I2C The I2C layer uses I/O operations that aren't available on all architectures and since select bypasses Kconfig dependency checking selecting I2C breaks builds like allmodconfig on some architectures. Signed-off-by: Mark Brown Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 5d77dc3e6bf..13ae4fd2d17 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1,6 +1,6 @@ config SND_SOC_ALL_CODECS tristate "Build all ASoC CODEC drivers" - select I2C + depends on I2C select SPI select SND_SOC_AK4535 select SND_SOC_UDA1380