summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/line.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 13:35:26 +0200
committerRichard Weinberger <richard@nod.at>2012-07-28 17:47:58 +0200
commit060ed31dd9ede0726f8c88aff36c6cd8ec6d0fe8 (patch)
tree8707cad6d39fc374b7a3983eda6e94a444a9afff /arch/um/drivers/line.h
parentLinux 3.5 (diff)
downloadlinux-060ed31dd9ede0726f8c88aff36c6cd8ec6d0fe8.tar.xz
linux-060ed31dd9ede0726f8c88aff36c6cd8ec6d0fe8.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: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r--arch/um/drivers/line.h2
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;