[PATCH 2/6] ASoC: codecs: AK4641 depends on GPIOLIB

From: Arnd Bergmann
Date: Sun Oct 02 2011 - 16:29:13 EST

This driver only builds correctly on platforms that use
GPIOLIB. Disable it otherwise.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Dmitry Artamonow <mad_soft@xxxxxxxx>
sound/soc/codecs/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 665d924..4d41447 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -21,7 +21,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_ADS117X
select SND_SOC_AK4104 if SPI_MASTER
select SND_SOC_AK4535 if I2C
- select SND_SOC_AK4641 if I2C
+ select SND_SOC_AK4641 if I2C && GPIOLIB
select SND_SOC_AK4642 if I2C
select SND_SOC_AK4671 if I2C
select SND_SOC_ALC5623 if I2C

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/