diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-29 14:10:01 -0700 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-08-10 12:47:07 +0200 |
| commit | 67c077553d338e1c79b8792d9e9e858df4bc3cef (patch) | |
| tree | f5431bc9a8e4c9a86c1ef3283c9ba13fde5decd9 /drivers | |
| parent | 6435d21cbd42fea6c66dfd4cfef7d58b9612497e (diff) | |
| download | linux-67c077553d338e1c79b8792d9e9e858df4bc3cef.tar.gz linux-67c077553d338e1c79b8792d9e9e858df4bc3cef.zip | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpio/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
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" |
