]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
gpio: kona: enable only on BCM_MOBILE or for compile testing
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 21 Feb 2014 13:42:26 +0000 (14:42 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Sep 2014 07:52:17 +0000 (09:52 +0200)
This change makes it easier to configure a kernel for a real machine by
not showing the option to enable it at all if COMPILE_TEST is off.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index d9ffb6dfa54bce7b23b64d8cf1d293cbaa1d051a..0959ca9b6b27b7ecea6c616c2d7e416233961d4b 100644 (file)
@@ -888,7 +888,7 @@ config GPIO_MSIC
 
 config GPIO_BCM_KONA
        bool "Broadcom Kona GPIO"
-       depends on OF_GPIO
+       depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
        help
          Turn on GPIO support for Broadcom "Kona" chips.