diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-06-25 10:37:34 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-07-07 08:22:46 -0400 |
commit | 348143a38012656f914cc7d3f016849e08a76d82 (patch) | |
tree | ff6922669ab93ad4b142c44adc9c229214f6cd6c | |
parent | 45ca6df5df11da7f19c85591e093479d5c60262f (diff) | |
download | linux-stable-348143a38012656f914cc7d3f016849e08a76d82.tar.gz linux-stable-348143a38012656f914cc7d3f016849e08a76d82.tar.bz2 linux-stable-348143a38012656f914cc7d3f016849e08a76d82.zip |
gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
[ Upstream commit c6414e1a2bd26b0071e2b9d6034621f705dfd4c0 ]
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 <lkp@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 14751c7ccd1f..d1300fc003ed 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1337,6 +1337,7 @@ config GPIO_TPS68470 config GPIO_TQMX86 tristate "TQ-Systems QTMX86 GPIO" depends on MFD_TQMX86 || COMPILE_TEST + depends on HAS_IOPORT_MAP select GPIOLIB_IRQCHIP help This driver supports GPIO on the TQMX86 IO controller. @@ -1404,6 +1405,7 @@ menu "PCI GPIO expanders" config GPIO_AMD8111 tristate "AMD 8111 GPIO driver" depends on X86 || COMPILE_TEST + depends on HAS_IOPORT_MAP help The AMD 8111 south bridge contains 32 GPIO pins which can be used. |