diff mbox

[v2,48/63] gpio: tc3589x: Move dependencies to a single line

Message ID 1459877980-31872-9-git-send-email-alexanders83@web.de
State New
Headers show

Commit Message

Alexander Stein April 5, 2016, 5:39 p.m. UTC
It's easier to add a simple || COMPILE_TEST whis way.

Signed-off-by: Alexander Stein <alexanders83@web.de>
---
 drivers/gpio/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 3a4d192646e6..b5d1e4641dd4 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -891,8 +891,7 @@  config GPIO_STMPE
 
 config GPIO_TC3589X
 	bool "TC3589X GPIOs"
-	depends on MFD_TC3589X
-	depends on OF_GPIO
+	depends on MFD_TC3589X && OF_GPIO
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the TC3589X