char: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 10:50:08 +0000 (12:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 May 2023 18:17:29 +0000 (19:17 +0100)
commit1fbb0b203574bb162fbbdc078f2b0907983995bd
tree24fc1dbf7fe2e39aea81ef51ca781ea0a1b0cac7
parentab7f17fb5b776933dd1a3431ae02bc2e394e2cba
char: 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/20230522105049.1467313-4-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig