From: Mark Brown <broonie@linaro.org>
Date: Mon, 20 Jan 2014 22:52:28 +0000 (+0000)
Subject: ASoC: omap: Make RX51 depend on GPIOLIB due to jack usage
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a23544a6cc448e3a90630814ddb79690eb9ce444;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ASoC: omap: Make RX51 depend on GPIOLIB due to jack usage

Since the GPIO jacks are only supported if gpiolib is built and fail to
compile otherwise add a build depedency.  This is unlikely to have any
practical impact outside of coverage testing.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
---

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index 4a07f7179690..22ad9c5654b5 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -30,6 +30,7 @@ config SND_OMAP_SOC_RX51
 	select SND_OMAP_SOC_MCBSP
 	select SND_SOC_TLV320AIC3X
 	select SND_SOC_TPA6130A2
+	depends on GPIOLIB
 	help
 	  Say Y if you want to add support for SoC audio on Nokia RX-51
 	  hardware. This is also known as Nokia N900 product.