The Renesas R-Car GPIO driver is only useful on shmobile unless build
testing.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Alexandre Courbot <[email protected]>
---
Simon, is it correct? I couldn't remove the dependency on ARM because
the driver uses set_irq_flags which is arm-specific.

 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.15-rc6.orig/drivers/gpio/Kconfig    2014-05-23 12:00:02.262995319 
+0200
+++ linux-3.15-rc6/drivers/gpio/Kconfig 2014-05-23 13:29:01.773035079 +0200
@@ -259,7 +259,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.
 


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to