gpio: allow COMPILE_TEST for IOPORT drivers

These drivers are gated by X86 but they compile on non-x86 just fine.
Add COMPILE_TEST to the menu so that these drivers can use it if they
want.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260729211001.719606-1-rosenp@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
Rosen Penev
2026-07-29 14:10:01 -07:00
committed by Bartosz Golaszewski
parent 6435d21cbd
commit 67c077553d

View File

@@ -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"