From 821e85f2a8433614b84cea194ac4f1302ef47ec9 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 23 May 2014 13:42:14 +0200 Subject: [PATCH] gpio: Add run-time dependencies to R-Car driver The Renesas R-Car GPIO driver is only useful on shmobile unless build testing. Signed-off-by: Jean Delvare Cc: Magnus Damm Cc: Alexandre Courbot Acked-by: Simon Horman Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3c603e8c2173..8f0799d876c5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -268,7 +268,7 @@ config GPIO_PXA config GPIO_RCAR tristate "Renesas R-Car GPIO" - depends on ARM + depends on ARM && (ARCH_SHMOBILE || COMPILE_TEST) help Say yes here to support GPIO on Renesas R-Car SoCs. -- 2.20.1