]> git.baikalelectronics.ru Git - kernel.git/commitdiff
tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency
authorJindong Yue <jindong.yue@nxp.com>
Tue, 2 Aug 2022 10:16:13 +0000 (18:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 12:14:27 +0000 (14:14 +0200)
Remove the limitation of SERIAL_FSL_LPUART=y,
as we may need enable this console while SERIAL_FSL_LPUART=m.

Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20220802101613.30879-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 877173907c5369a58d48f563612164f251ee8de5..a18dd525e42b26a3f6b832a02ca6f9754d075fbb 100644 (file)
@@ -1325,7 +1325,7 @@ config SERIAL_FSL_LPUART
 
 config SERIAL_FSL_LPUART_CONSOLE
        bool "Console on Freescale lpuart serial port"
-       depends on SERIAL_FSL_LPUART=y
+       depends on SERIAL_FSL_LPUART
        select SERIAL_CORE_CONSOLE
        select SERIAL_EARLYCON
        help