summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2020-12-10 16:57:44 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-11 17:14:22 +0100
commit87a0b9f98ac5a14aae5b0fbcff930a240b24f827 (patch)
tree8481b29365216c12d018dd50ad700be49fa6bf25 /drivers/tty/serial/Kconfig
parentd96f04d347e4011977abdbb4da5d8f303ebd26f8 (diff)
tty: serial: meson: enable console as module
Enable serial driver to be built as a module. To do so, init the console support on driver/module load instead of using console_initcall(). Signed-off-by: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/20201211005744.12855-1-khilman@baylibre.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 2d73b823e91c..12d71d5eb6ca 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -206,7 +206,7 @@ config SERIAL_MESON
config SERIAL_MESON_CONSOLE
bool "Support for console on meson"
- depends on SERIAL_MESON=y
+ depends on SERIAL_MESON
select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
help