iio: ad7606: Kconfig: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 16 May 2023 11:00:08 +0000 (13:00 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 20 May 2023 16:30:45 +0000 (17:30 +0100)
commit76aa53e20e77a4de3b9b5cbdf405fa13ff9be6de
treeddd91eb315e96b88cc7fc1c8bb87194e7b249600
parent787eb0c0cb7b504dd3e9822e1a90f6d351c39b93
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: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230516110038.2413224-13-schnelle@linux.ibm.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig