Commit 76aa53e2 authored by Niklas Schnelle's avatar Niklas Schnelle Committed by Jonathan Cameron

iio: ad7606: Kconfig: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to add HAS_IOPORT as dependency for
those drivers using them.
Co-developed-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230516110038.2413224-13-schnelle@linux.ibm.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 787eb0c0
...@@ -145,7 +145,7 @@ config AD7606 ...@@ -145,7 +145,7 @@ config AD7606
config AD7606_IFACE_PARALLEL config AD7606_IFACE_PARALLEL
tristate "Analog Devices AD7606 ADC driver with parallel interface support" tristate "Analog Devices AD7606 ADC driver with parallel interface support"
depends on HAS_IOMEM depends on HAS_IOPORT
select AD7606 select AD7606
help help
Say yes here to build parallel interface support for Analog Devices: Say yes here to build parallel interface support for Analog Devices:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment