summaryrefslogtreecommitdiffstats
path: root/drivers/char/riscom8.h
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-16 21:55:29 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:12:36 -0700
commit85f8f81052eeb3eac1242731a8777caacfef0aa9 (patch)
tree32f1fe3efc1e60b46f5d19eb931d462da8260d9a /drivers/char/riscom8.h
parentb5391e29f428d11755ca2c91074c6db6f5c69d7c (diff)
riscom8: use tty_port
Switch riscom8 to use the new tty_port structure Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/riscom8.h')
-rw-r--r--drivers/char/riscom8.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/char/riscom8.h b/drivers/char/riscom8.h
index cdfdf439447..29ddbab7880 100644
--- a/drivers/char/riscom8.h
+++ b/drivers/char/riscom8.h
@@ -66,20 +66,14 @@ struct riscom_board {
struct riscom_port {
int magic;
+ struct tty_port port;
int baud_base;
- int flags;
- struct tty_struct * tty;
- int count;
- int blocked_open;
int timeout;
int close_delay;
- unsigned char * xmit_buf;
int custom_divisor;
int xmit_head;
int xmit_tail;
int xmit_cnt;
- wait_queue_head_t open_wait;
- wait_queue_head_t close_wait;
short wakeup_chars;
short break_length;
unsigned short closing_wait;