Skip to content

Commit c6414e1

Browse files
jmberg-intelbrgl
authored andcommitted
gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
Both of these drivers use ioport_map(), so they need to depend on HAS_IOPORT_MAP. Otherwise, they cannot be built even with COMPILE_TEST on architectures without an ioport implementation, such as ARCH=um. Reported-by: kernel test robot <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent cb8f63b commit c6414e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpio/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,7 @@ config GPIO_TPS68470
13831383
config GPIO_TQMX86
13841384
tristate "TQ-Systems QTMX86 GPIO"
13851385
depends on MFD_TQMX86 || COMPILE_TEST
1386+
depends on HAS_IOPORT_MAP
13861387
select GPIOLIB_IRQCHIP
13871388
help
13881389
This driver supports GPIO on the TQMX86 IO controller.
@@ -1450,6 +1451,7 @@ menu "PCI GPIO expanders"
14501451
config GPIO_AMD8111
14511452
tristate "AMD 8111 GPIO driver"
14521453
depends on X86 || COMPILE_TEST
1454+
depends on HAS_IOPORT_MAP
14531455
help
14541456
The AMD 8111 south bridge contains 32 GPIO pins which can be used.
14551457

0 commit comments

Comments
 (0)