linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] gpio: zx: depend on ARCH_ZX
@ 2016-11-20 17:44 Peter Robinson
  2016-11-22  9:22 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2016-11-20 17:44 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot, linux-gpio; +Cc: Peter Robinson

Set GPIO_ZX to depend on ARCH_ZX as it's SOC specific.

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

v1->v2:
        - Add COMPILE_TEST

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d011cb8..fa78a0b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -524,6 +524,7 @@ config GPIO_ZYNQ
 
 config GPIO_ZX
 	bool "ZTE ZX GPIO support"
+	depends on ARCH_ZX || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to support the GPIO device on ZTE ZX SoCs.
-- 
2.9.3


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

* Re: [PATCH v2] gpio: zx: depend on ARCH_ZX
  2016-11-20 17:44 [PATCH v2] gpio: zx: depend on ARCH_ZX Peter Robinson
@ 2016-11-22  9:22 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-11-22  9:22 UTC (permalink / raw)
  To: Peter Robinson; +Cc: Alexandre Courbot, linux-gpio@vger.kernel.org

On Sun, Nov 20, 2016 at 6:44 PM, Peter Robinson <pbrobinson@gmail.com> wrote:

> Set GPIO_ZX to depend on ARCH_ZX as it's SOC specific.
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2016-11-22  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-20 17:44 [PATCH v2] gpio: zx: depend on ARCH_ZX Peter Robinson
2016-11-22  9:22 ` Linus Walleij

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).