* [PATCH v5 17/44] leds: add HAS_IOPORT dependencies [not found] <20230522105049.1467313-1-schnelle@linux.ibm.com> @ 2023-05-22 10:50 ` Niklas Schnelle 2023-05-25 11:21 ` Lee Jones 0 siblings, 1 reply; 2+ messages in thread From: Niklas Schnelle @ 2023-05-22 10:50 UTC (permalink / raw) To: Arnd Bergmann, Pavel Machek, Lee Jones Cc: Greg Kroah-Hartman, Bjorn Helgaas, Uwe Kleine-König, Mauro Carvalho Chehab, Alan Stern, Rafael J. Wysocki, Geert Uytterhoeven, Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-kernel, linux-arch, linux-pci, Arnd Bergmann, linux-leds 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. Acked-by: Pavel Machek <pavel@ucw.cz> 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> --- drivers/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 2c5fdf848210..6573a4473fe5 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -676,7 +676,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. -- 2.39.2 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v5 17/44] leds: add HAS_IOPORT dependencies 2023-05-22 10:50 ` [PATCH v5 17/44] leds: add HAS_IOPORT dependencies Niklas Schnelle @ 2023-05-25 11:21 ` Lee Jones 0 siblings, 0 replies; 2+ messages in thread From: Lee Jones @ 2023-05-25 11:21 UTC (permalink / raw) To: Niklas Schnelle Cc: Arnd Bergmann, Pavel Machek, Greg Kroah-Hartman, Bjorn Helgaas, Uwe Kleine-König, Mauro Carvalho Chehab, Alan Stern, Rafael J. Wysocki, Geert Uytterhoeven, Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-kernel, linux-arch, linux-pci, Arnd Bergmann, linux-leds On Mon, 22 May 2023, Niklas Schnelle wrote: > 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. > > Acked-by: Pavel Machek <pavel@ucw.cz> > 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> > --- > drivers/leds/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks -- Lee Jones [李琼斯] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-25 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230522105049.1467313-1-schnelle@linux.ibm.com>
2023-05-22 10:50 ` [PATCH v5 17/44] leds: add HAS_IOPORT dependencies Niklas Schnelle
2023-05-25 11:21 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).