diff options
author | 2022-11-23 08:05:00 -0500 | |
---|---|---|
committer | 2023-01-19 14:59:41 +0100 | |
commit | f1c6c8b1b42dd72bd54adec003463650b84893d8 (patch) | |
tree | e28b6db6fd69b9e9fdf2e03aa0608df78f581b1d /include/linux/serial.h | |
parent | serial: liteuart: add IRQ support for the TX path (diff) | |
download | linux-rng-f1c6c8b1b42dd72bd54adec003463650b84893d8.tar.xz linux-rng-f1c6c8b1b42dd72bd54adec003463650b84893d8.zip |
serial: liteuart: move polling putchar() function
The polling liteuart_putchar() function is only called from methods
conditionally enabled by CONFIG_SERIAL_LITEUART_CONSOLE. Move its
definition closer to the console code where it is dependent on the
same config option.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-15-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial.h')
0 files changed, 0 insertions, 0 deletions