diff options
| author | 2022-11-16 17:27:41 +0106 | |
|---|---|---|
| committer | 2022-12-02 11:25:01 +0100 | |
| commit | 4b71a443cb0abdddaf08a5991e28fc510a8d3abd (patch) | |
| tree | 59a15b0c53fb678e48ce01efa3033bddc966ccdf /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | tty: serial: samsung_tty: use console_is_registered() (diff) | |
tty: serial: xilinx_uartps: use console_is_registered()
It is not reliable to check for CON_ENABLED in order to identify if a
console is registered. Use console_is_registered() instead.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-30-john.ogness@linutronix.de
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
