Skip to content

Commit 2c468ed

Browse files
rddunlapgregkh
authored andcommitted
serial: Kconfig: fix ordering of entries for menu display
Improve the "Non-8250 serial port support" menu so that entries in it are displayed in a better order (_CONSOLE after its driver) and so that intervening symbols don't break up the dependency list, allowing menu entries to be displayed with proper indentation. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260110232643.3533351-4-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1ec8891 commit 2c468ed

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

drivers/tty/serial/Kconfig

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,10 @@ config SERIAL_21285_CONSOLE
413413
your boot loader (lilo or loadlin) about how to pass options to the
414414
kernel at boot time.)
415415

416+
config SERIAL_PXA_NON8250
417+
bool
418+
depends on !SERIAL_8250 || COMPILE_TEST
419+
416420
config SERIAL_PXA
417421
bool "PXA serial port support (DEPRECATED)"
418422
depends on ARCH_PXA || ARCH_MMP
@@ -426,10 +430,6 @@ config SERIAL_PXA
426430
Unless you have a specific need, you should use SERIAL_8250_PXA
427431
instead of this.
428432

429-
config SERIAL_PXA_NON8250
430-
bool
431-
depends on !SERIAL_8250 || COMPILE_TEST
432-
433433
config SERIAL_PXA_CONSOLE
434434
bool "Console on PXA serial port (DEPRECATED)"
435435
depends on SERIAL_PXA
@@ -863,15 +863,15 @@ config SERIAL_ICOM
863863
This driver can also be built as a module. If so, the module
864864
will be called icom.
865865

866+
config HAS_TXX9_SERIAL
867+
bool
868+
866869
config SERIAL_TXX9
867870
bool "TMPTX39XX/49XX SIO support"
868871
depends on HAS_TXX9_SERIAL
869872
select SERIAL_CORE
870873
default y
871874

872-
config HAS_TXX9_SERIAL
873-
bool
874-
875875
config SERIAL_TXX9_NR_UARTS
876876
int "Maximum number of TMPTX39XX/49XX SIO ports"
877877
depends on SERIAL_TXX9
@@ -1251,19 +1251,19 @@ config SERIAL_AR933X_NR_UARTS
12511251
Set this to the number of serial ports you want the driver
12521252
to support.
12531253

1254-
config SERIAL_MPS2_UART_CONSOLE
1255-
bool "MPS2 UART console support"
1256-
depends on SERIAL_MPS2_UART
1257-
select SERIAL_CORE_CONSOLE
1258-
select SERIAL_EARLYCON
1259-
12601254
config SERIAL_MPS2_UART
12611255
bool "MPS2 UART port"
12621256
depends on ARCH_MPS2 || COMPILE_TEST
12631257
select SERIAL_CORE
12641258
help
12651259
This driver support the UART ports on ARM MPS2.
12661260

1261+
config SERIAL_MPS2_UART_CONSOLE
1262+
bool "MPS2 UART console support"
1263+
depends on SERIAL_MPS2_UART
1264+
select SERIAL_CORE_CONSOLE
1265+
select SERIAL_EARLYCON
1266+
12671267
config SERIAL_ARC
12681268
tristate "ARC UART driver support"
12691269
select SERIAL_CORE

0 commit comments

Comments
 (0)