[PATCH] tty: serial: meson: enable console as module
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Dec 11 02:35:46 EST 2020
On Thu, Dec 10, 2020 at 04:57:44PM -0800, Kevin Hilman wrote:
> 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 at baylibre.com>
> ---
> Yes, I'm well aware that having the serial console as a module makes
> devices hard to debug, so I'm not changing any default behavior. The
> goal is just to enable building as a module for environments where
> serial debug is not available or needed.
It's a good goal, I'm all for it, thanks for the patch!
greg k-h
More information about the linux-arm-kernel
mailing list