diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 13:54:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 20:28:18 +0200 |
commit | 85bbc003b24335e253a392f6a9874103b77abb36 (patch) | |
tree | 49eb57fe74d81dc1107879c754865a7a91d4490b /drivers/tty/hvc/hvc_console.h | |
parent | TTY: HVC, add tty_port (diff) | |
download | linux-85bbc003b24335e253a392f6a9874103b77abb36.tar.xz linux-85bbc003b24335e253a392f6a9874103b77abb36.zip |
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 { struct tty_port port; spinlock_t lock; int index; - struct tty_struct *tty; int count; int do_wakeup; char *outbuf; |