diff options
| -rw-r--r-- | drivers/gpio/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 6fd904e29c3e..0fd5b09c499a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -408,8 +408,7 @@ config GPIO_IMX_SCU config GPIO_IXP4XX bool "Intel IXP4xx GPIO" - depends on ARCH_IXP4XX - depends on OF + depends on (ARCH_IXP4XX && OF) || COMPILE_TEST select GPIO_GENERIC select GPIOLIB_IRQCHIP select IRQ_DOMAIN_HIERARCHY |
