summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2023-05-22 12:50:22 +0200
committerLee Jones <lee@kernel.org>2023-05-25 13:20:47 +0200
commit0113cea8fd729ea6187e8d330f74a7e2a73bd970 (patch)
treea04008e51059407fc39a2f97c3705ea9bb6e69c6 /drivers/leds
parentleds: trigger: netdev: Remove NULL check before dev_{put, hold} (diff)
downloadlinux-0113cea8fd729ea6187e8d330f74a7e2a73bd970.tar.xz
linux-0113cea8fd729ea6187e8d330f74a7e2a73bd970.zip
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 1bffdbd3b6d5..83c3cff9fa08 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -687,7 +687,7 @@ config LEDS_LM355x
config LEDS_OT200
tristate "LED support for the Bachmann OT200"
- depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
+ depends on LEDS_CLASS && HAS_IOPORT && (X86_32 || COMPILE_TEST)
help
This option enables support for the LEDs on the Bachmann OT200.
Say Y to enable LEDs on the Bachmann OT200.