diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-02-21 08:42:26 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-25 03:52:17 -0400 |
commit | 7b31997a734cd24c305d5c58a366e4c8f7673e02 (patch) | |
tree | 9a422d84617d55f7620bbc7f7d68334a6e7537d7 /drivers/gpio | |
parent | 3778129206419c41f0dac877d931900397cab25c (diff) |
gpio: kona: enable only on BCM_MOBILE or for compile testing
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index d9ffb6dfa54b..0959ca9b6b27 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -888,7 +888,7 @@ config GPIO_MSIC | |||
888 | 888 | ||
889 | config GPIO_BCM_KONA | 889 | config GPIO_BCM_KONA |
890 | bool "Broadcom Kona GPIO" | 890 | bool "Broadcom Kona GPIO" |
891 | depends on OF_GPIO | 891 | depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) |
892 | help | 892 | help |
893 | Turn on GPIO support for Broadcom "Kona" chips. | 893 | Turn on GPIO support for Broadcom "Kona" chips. |
894 | 894 | ||