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 fcbc767a685f..a699215a67e6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -873,8 +873,7 @@ config GPIO_RC5T583 config GPIO_STMPE bool "STMPE GPIOs" - depends on MFD_STMPE - depends on OF_GPIO + depends on MFD_STMPE && OF_GPIO select GPIOLIB_IRQCHIP help This enables support for the GPIOs found on the STMPE I/O -- 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