acrn-kernel/arch/m68k/emu
John Ogness de61a1a3a0 tty: nfcon: use console_is_registered()
Currently CON_ENABLED is being (mis)used to identify if the console
has been registered. This is not reliable because it can be set even
though registration failed or it can be unset, even though the console
is registered. Use console_is_registered() instead.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-24-john.ogness@linutronix.de
2022-12-02 11:25:01 +01:00
..
Makefile
natfeat.c
nfblock.c
nfcon.c tty: nfcon: use console_is_registered() 2022-12-02 11:25:01 +01:00
nfeth.c