Эх сурвалжийг харах

gpio: zevio: depend on ARM and OF_GPIO

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

Cc: Fabian Vogt <fabian@ritter-vogt.de>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij 11 жил өмнө
parent
commit
feabf0cd45
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      drivers/gpio/Kconfig

+ 1 - 1
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.