diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-02-24 12:55:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-28 23:49:06 +0300 |
commit | 797bd4d41c8b41afc10fad39146ac9558cb39e94 (patch) | |
tree | d334af3eb7d34ec67ccf60f5af81351e68526176 /scripts/gdb/linux/proc.py | |
parent | d4ab5487cc77a4053dc9070c5761ad94bf397825 (diff) | |
download | linux-797bd4d41c8b41afc10fad39146ac9558cb39e94.tar.xz |
tty: serial: define UART_LCR_WLEN() macro
Define a generic UART_LCR_WLEN() macro with a size argument. It can be
used to encode byte size into an LCR value. Therefore we can use it to
simplify the drivers using tty_get_char_size() in the next patches.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220224095558.30929-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions