gpio: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 16 May 2023 11:00:05 +0000 (13:00 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 May 2023 14:15:10 +0000 (16:15 +0200)
commit2c99754ea0f90ed4a7ab0db9879e57a266b01bfc
tree8f05be128cb257e6697f38e126d59d6ba4141984
parentebdffe5b1fffa62c91800474c25e3c9f63be2aad
gpio: 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig