gpio: Fix OF build problem on UM
[cascardo/linux.git] / drivers / gpio / Kconfig
index 98dd47a..24f833c 100644 (file)
@@ -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