diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 07:54:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 14:28:18 -0400 |
commit | 85bbc003b24335e253a392f6a9874103b77abb36 (patch) | |
tree | 49eb57fe74d81dc1107879c754865a7a91d4490b /drivers/tty/hvc/hvc_console.h | |
parent | f3d9f25097b62eaeb9e5b71358b863c7bf54c600 (diff) |
TTY: HVC, use tty from tty_port
The driver already used refcounting. So we just switch it to tty_port
helpers. And switch to tty_port->lock for tty.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvc_console.h')
-rw-r--r-- | drivers/tty/hvc/hvc_console.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_console.h b/drivers/tty/hvc/hvc_console.h index 926d9e4b6db7..594a28fe0da0 100644 --- a/drivers/tty/hvc/hvc_console.h +++ b/drivers/tty/hvc/hvc_console.h | |||
@@ -49,7 +49,6 @@ struct hvc_struct { | |||
49 | struct tty_port port; | 49 | struct tty_port port; |
50 | spinlock_t lock; | 50 | spinlock_t lock; |
51 | int index; | 51 | int index; |
52 | struct tty_struct *tty; | ||
53 | int count; | 52 | int count; |
54 | int do_wakeup; | 53 | int do_wakeup; |
55 | char *outbuf; | 54 | char *outbuf; |