瀏覽代碼

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 年之前
父節點
當前提交
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.