diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3b402ac505f1..92cb81c60335 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -956,7 +956,8 @@ config GPIO_IDT3243X endmenu menu "Port-mapped I/O GPIO drivers" - depends on X86 && HAS_IOPORT # I/O space access + depends on X86 || COMPILE_TEST + depends on HAS_IOPORT # I/O space access config GPIO_VX855 tristate "VIA VX855/VX875 GPIO"