diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index f9dc19281ac48bb625dd2f1ab760619e9b392434..9b2d35092cda463e2c4c414169e8a5ecf8522bd8 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -148,8 +148,7 @@ config GPIO_GENERIC_PLATFORM config GPIO_DWAPB tristate "Synopsys DesignWare APB GPIO driver" - depends on ARM || ARM64 - depends on OF_GPIO + depends on ((ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK select GPIO_GENERIC select GENERIC_IRQ_CHIP help