char: ttyprintk: register console
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 15 Feb 2022 14:17:49 +0000 (15:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:24:47 +0000 (16:24 +0200)
commit7ea4aa70bfcec3225e2a38d8934c0b1f582c48c1
treee687e6852fc5e1682d221eebc8e88c85c1d6b244
parent8f3631f0f6eb42e57f0ed120d105483c3ef61e49
char: ttyprintk: register console

Register a console in the ttyprintk driver so that it can be selected
for /dev/console with console=ttyprintk on the kernel command line,
similar to other console drivers.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220215141750.92808-1-vincent.whitchurch@axis.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig
drivers/char/ttyprintk.c