diff mbox

[v2] gpio: zx: depend on ARCH_ZX

Message ID 20161120174448.692-1-pbrobinson@gmail.com
State New
Headers show

Commit Message

Peter Robinson Nov. 20, 2016, 5:44 p.m. UTC
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

Comments

Linus Walleij Nov. 22, 2016, 9:22 a.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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.