Instead of just depending on OF and getting build failures,
depend on ARM && OF_GPIO.

Cc: Fabian Vogt <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
---
This has been APPLIED to the GPIO tree to stop build
issues from happening.
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index e9dda8658a9e..b56bd0c13ec3 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -156,7 +156,7 @@ config GPIO_EP93XX
 
 config GPIO_ZEVIO
        bool "LSI ZEVIO SoC memory mapped GPIOs"
-       depends on OF
+       depends on ARM && OF_GPIO
        help
          Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
 
-- 
1.8.5.3

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