gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jun 2021 08:37:34 +0000 (10:37 +0200)
committerSasha Levin <sashal@kernel.org>
Wed, 7 Jul 2021 12:22:46 +0000 (08:22 -0400)
commit348143a38012656f914cc7d3f016849e08a76d82
treeff6922669ab93ad4b142c44adc9c229214f6cd6c
parent45ca6df5df11da7f19c85591e093479d5c60262f
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>
drivers/gpio/Kconfig