leds: Add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 10:50:22 +0000 (12:50 +0200)
committerLee Jones <lee@kernel.org>
Thu, 25 May 2023 11:20:47 +0000 (12:20 +0100)
commit0113cea8fd729ea6187e8d330f74a7e2a73bd970
treea04008e51059407fc39a2f97c3705ea9bb6e69c6
parentaf7320ecae0ce646fd2c4a88341a3fbc243553da
leds: 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>
Acked-by: Pavel Machek <pavel@ucw.cz>
Link: https://lore.kernel.org/r/20230522105049.1467313-18-schnelle@linux.ibm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/Kconfig