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 2f03157a41bc..cf183cb3ac82 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -881,8 +881,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.7.2 -- 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