summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm724x/gdm_tty.h
diff options
context:
space:
mode:
authorWon Kang2013-08-16 06:13:43 +0200
committerGreg Kroah-Hartman2013-08-20 00:30:59 +0200
commit7ee4c1b94958837015f8b8a1db6101810c211a8c (patch)
tree115926900d7158c59c8bd54aefe9eb159fd4d8a4 /drivers/staging/gdm724x/gdm_tty.h
parentStaging: olpc_dcon: Already completed TODO entry removed (diff)
downloadkernel-qcow2-linux-7ee4c1b94958837015f8b8a1db6101810c211a8c.tar.gz
kernel-qcow2-linux-7ee4c1b94958837015f8b8a1db6101810c211a8c.tar.xz
kernel-qcow2-linux-7ee4c1b94958837015f8b8a1db6101810c211a8c.zip
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: Won Kang <wonkang@gctsemi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/gdm_tty.h')
-rw-r--r--drivers/staging/gdm724x/gdm_tty.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/gdm724x/gdm_tty.h b/drivers/staging/gdm724x/gdm_tty.h
index a75be1df0100..64db5e63e389 100644
--- a/drivers/staging/gdm724x/gdm_tty.h
+++ b/drivers/staging/gdm724x/gdm_tty.h
@@ -44,10 +44,11 @@ struct tty_dev {
u8 minor[2];
};
-struct tty_str {
+struct gdm {
struct tty_dev *tty_dev;
- int tty_drv_index;
struct tty_port port;
+ unsigned int index;
+ unsigned int minor;
};
int register_lte_tty_driver(void);