kernel: update 3.14 to 3.14.18
[openwrt/staging/stintel.git] / target / linux / ipq806x / patches / 0039-pinctrl-msm8x74-make-Kconfig-dependency-more-strict.patch
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
5 strict
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
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.
14
15 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
16 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
17 ---
18 drivers/pinctrl/Kconfig | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/pinctrl/Kconfig
22 +++ b/drivers/pinctrl/Kconfig
23 @@ -232,7 +232,7 @@ config PINCTRL_APQ8064
24
25 config PINCTRL_MSM8X74
26 tristate "Qualcomm 8x74 pin controller driver"
27 - depends on GPIOLIB && OF
28 + depends on GPIOLIB && OF && (ARCH_QCOM || COMPILE_TEST)
29 select PINCTRL_MSM
30 help
31 This is the pinctrl, pinmux, pinconf and gpiolib driver for the