소스 검색

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.