Skip to content
Commit 43a9e710 authored by Martin Hundebøll's avatar Martin Hundebøll Committed by Greg Kroah-Hartman
Browse files

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: default avatarMartin Hundebøll <martin@geanix.com>
Link: https://lore.kernel.org/r/20190710192656.60381-3-martin@geanix.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a64d19aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment