Skip to content

Commit 79527d8

Browse files
rddunlapgregkh
authored andcommitted
serial: imx: change SERIAL_IMX_CONSOLE to bool
SERIAL_IMX_CONSOLE is a build option for the imx driver (SERIAL_IMX). It does not build a separate console driver file, so it can't be built as a module since it isn't built at all. Change the Kconfig symbol from tristate to bool and update the help text accordingly. Fixes: 0db4f9b ("tty: serial: imx: enable imx serial console port as module") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260110232643.3533351-2-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 79dd246 commit 79527d8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/tty/serial/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,14 @@ config SERIAL_IMX
486486
can enable its onboard serial port by enabling this option.
487487

488488
config SERIAL_IMX_CONSOLE
489-
tristate "Console on IMX serial port"
489+
bool "Console on IMX serial port"
490490
depends on SERIAL_IMX
491491
select SERIAL_CORE_CONSOLE
492492
help
493493
If you have enabled the serial port on the Freescale IMX
494-
CPU you can make it the console by answering Y/M to this option.
494+
CPU you can make it the console by answering Y to this option.
495495

496-
Even if you say Y/M here, the currently visible virtual console
496+
Even if you say Y here, the currently visible virtual console
497497
(/dev/tty0) will still be used as the system console by default, but
498498
you can alter that using a kernel command line option such as
499499
"console=ttymxc0". (Try "man bootparam" or see the documentation of

0 commit comments

Comments
 (0)