linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] gpio: em: depnd on ARCH_SHMOBILE
@ 2016-11-20 17:48 Peter Robinson
  2016-11-22  9:23 ` Linus Walleij
  2016-11-24  9:38 ` Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Robinson @ 2016-11-20 17:48 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot, linux-gpio; +Cc: Peter Robinson

The GPIO_EM is part of the Renesas SoCs so depend on the arch.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

v1->v2:
        - Add COMPILE_TEST

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d011cb8..a09e237 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -171,7 +171,7 @@ config GPIO_DWAPB
 
 config GPIO_EM
 	tristate "Emma Mobile GPIO"
-	depends on ARM && OF_GPIO
+	depends on (ARCH_SHMOBILE || COMPILE_TEST) && OF_GPIO
 	help
 	  Say yes here to support GPIO on Renesas Emma Mobile SoCs.
 
-- 
2.9.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-24 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-20 17:48 [PATCH v2] gpio: em: depnd on ARCH_SHMOBILE Peter Robinson
2016-11-22  9:23 ` Linus Walleij
2016-11-24  9:38 ` Geert Uytterhoeven
2016-11-24 15:19   ` Linus Walleij
2016-11-24 15:59     ` Peter Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).