diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 13:35:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 00:54:09 +0200 |
commit | 042e6c29c16c9c20c31110b611ed60187b0c873a (patch) | |
tree | 6a5405b8ef0b195aab51b76f63c1273f8c061cdb /arch/um/drivers/line.h | |
parent | TTY: ircomm, use tty_port_close_start helper (diff) | |
download | linux-042e6c29c16c9c20c31110b611ed60187b0c873a.tar.xz linux-042e6c29c16c9c20c31110b611ed60187b0c873a.zip |
TTY: um/line, add tty_port
And use count from there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r-- | arch/um/drivers/line.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h index 0a1834719dba..0e06a1f441d7 100644 --- a/arch/um/drivers/line.h +++ b/arch/um/drivers/line.h @@ -32,9 +32,9 @@ struct line_driver { }; struct line { + struct tty_port port; struct tty_struct *tty; struct mutex count_lock; - unsigned long count; int valid; char *init_str; |