Commit 7ee4c1b9 authored by Won Kang's avatar Won Kang Committed by Greg Kroah-Hartman

staging: gdm7240: a TTY rewrite according to the latest TTY APIs

Removed the old style reference countings and termios.
Renamed variables to meaninful ones.
Signed-off-by: default avatarWon Kang <wonkang@gctsemi.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7d5b640d
This diff is collapsed.
...@@ -44,10 +44,11 @@ struct tty_dev { ...@@ -44,10 +44,11 @@ struct tty_dev {
u8 minor[2]; u8 minor[2];
}; };
struct tty_str { struct gdm {
struct tty_dev *tty_dev; struct tty_dev *tty_dev;
int tty_drv_index;
struct tty_port port; struct tty_port port;
unsigned int index;
unsigned int minor;
}; };
int register_lte_tty_driver(void); int register_lte_tty_driver(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment