i2c: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Fri, 5 Apr 2024 10:10:09 +0000 (12:10 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:35:40 +0000 (00:35 +0200)
commit47c21d2d52e0da05abdae63faa3de65cfb3afb74
tree5d0f1f2dc046e989c42d8cb15c21c3a1b88312af
parent893fef0bc6aaedd482b7592d18d9b17682c1f94a
i2c: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. 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>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/Kconfig