diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-01-22 12:03:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-27 18:08:53 -0800 |
commit | 387ccbdb634fc6572b02dc38ef0d1c8a80606314 (patch) | |
tree | 761c4530733011fe576ca0d6db5199efdef4d2ef /drivers/video | |
parent | 3ab8a651934f7b18b6716765df3c32391549cf01 (diff) | |
download | linux-stable-387ccbdb634fc6572b02dc38ef0d1c8a80606314.tar.gz linux-stable-387ccbdb634fc6572b02dc38ef0d1c8a80606314.tar.bz2 linux-stable-387ccbdb634fc6572b02dc38ef0d1c8a80606314.zip |
tty: vt: add con_putc() helper
And let it call consw::con_putc() if it exists, otherwise
consw::con_putcs(). This is similar to tty_put_char().
It supports dropping unneeded duplication of code like sticon_putc() is
(see the next patch).
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Tested-by: Helge Deller <deller@gmx.de> # parisc STI console
Link: https://lore.kernel.org/r/20240122110401.7289-24-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions