From: Uwe Kleine-König Date: Fri, 21 Feb 2014 13:42:26 +0000 (+0100) Subject: gpio: kona: enable only on BCM_MOBILE or for compile testing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b31997a734cd24c305d5c58a366e4c8f7673e02;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Markus Mayer Signed-off-by: Linus Walleij --- 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 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.