diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b18bea08ff25..469dc378adeb 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -50,6 +50,7 @@ config GPIO_DEVRES config OF_GPIO def_bool y depends on OF + depends on HAS_IOMEM config GPIO_ACPI def_bool y