]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
m68k: make HPDCA and HPAPCI bools
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Fri, 22 Aug 2025 10:42:08 +0000 (12:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:48:56 +0000 (15:48 +0200)
The only user -- 8250_hp300 -- tests for CONFIG_HPDCA and CONFIG_HPAPCI.
It does not test for *_MODULE variants. That means that if someone sets
the configs to =m, the code is not compiled at all.

There is actually no point having these as tristate. Switch them to
bool.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Link: https://lore.kernel.org/r/20250822104208.751191-1-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/Kconfig.devices

index e6e3efac184074c2b28b3c7349fa5a9685118202..e277f1bd2de17575835638c4009d2cde784b95f1 100644 (file)
@@ -105,14 +105,14 @@ config AMIGA_BUILTIN_SERIAL
          To compile this driver as a module, choose M here.
 
 config HPDCA
-       tristate "HP DCA serial support"
+       bool "HP DCA serial support"
        depends on DIO && SERIAL_8250
        help
          If you want to use the internal "DCA" serial ports on an HP300
          machine, say Y here.
 
 config HPAPCI
-       tristate "HP APCI serial support"
+       bool "HP APCI serial support"
        depends on HP300 && SERIAL_8250
        help
          If you want to use the internal "APCI" serial ports on an HP400