From: Jean Delvare Date: Fri, 23 May 2014 11:42:14 +0000 (+0200) Subject: gpio: Add run-time dependencies to R-Car driver X-Git-Tag: v3.16-rc1~30^2~53^2~8 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=821e85f2a8433614b84cea194ac4f1302ef47ec9;p=linux.git 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 --- 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.