diff options
author | Martin Hundebøll <martin@geanix.com> | 2019-07-10 21:26:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 12:43:43 +0200 |
commit | 43a9e710cbed16e1e811713b5ccae5293471287e (patch) | |
tree | 18acd7674378d6f87973fa5721bf2e3490eb40b0 /drivers/tty/serial/8250 | |
parent | a64d19aa0ef62c7238e45d3f1cac90dd1915e560 (diff) | |
download | linux-43a9e710cbed16e1e811713b5ccae5293471287e.tar.bz2 |
tty: n_gsm: add helpers to convert mux-num to/from tty-base
Make it obvious how the gsm mux number relates to the virtual tty lines
by using helper functions instead of shifting 6 bits.
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Link: https://lore.kernel.org/r/20190710192656.60381-3-martin@geanix.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250')
0 files changed, 0 insertions, 0 deletions