1 From 8605197c200786888415bf2e30d1fbde6ba8ba03 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
3 Date: Tue, 1 Apr 2014 22:25:59 +0200
4 Subject: [PATCH 039/182] pinctrl: msm8x74: make Kconfig dependency more
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 This driver is only useful on MSM8x74, so let the driver depend on
11 ARCH_QCOM but allow compile coverage testing.
12 The main benefit is that the driver isn't available to be selected for
13 machines that don't have the matching hardware.
15 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
16 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 drivers/pinctrl/Kconfig | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
22 index 91993a6..d34639d 100644
23 --- a/drivers/pinctrl/Kconfig
24 +++ b/drivers/pinctrl/Kconfig
25 @@ -232,7 +232,7 @@ config PINCTRL_APQ8064
27 config PINCTRL_MSM8X74
28 tristate "Qualcomm 8x74 pin controller driver"
29 - depends on GPIOLIB && OF
30 + depends on GPIOLIB && OF && (ARCH_QCOM || COMPILE_TEST)
33 This is the pinctrl, pinmux, pinconf and gpiolib driver for the