tty: serial: meson: enable console as module
authorKevin Hilman <khilman@baylibre.com>
Fri, 11 Dec 2020 00:57:44 +0000 (16:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 16:14:22 +0000 (17:14 +0100)
commit87a0b9f98ac5a14aae5b0fbcff930a240b24f827
tree8481b29365216c12d018dd50ad700be49fa6bf25
parentd96f04d347e4011977abdbb4da5d8f303ebd26f8
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>
drivers/tty/serial/Kconfig
drivers/tty/serial/meson_uart.c