It's easier to add a simple || COMPILE_TEST whis way. Signed-off-by: Alexander Stein <alexanders83@xxxxxx> --- drivers/gpio/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html