From 85f8f81052eeb3eac1242731a8777caacfef0aa9 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 16 Jul 2008 21:55:29 +0100 Subject: riscom8: use tty_port Switch riscom8 to use the new tty_port structure Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- drivers/char/riscom8.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'drivers/char/riscom8.h') 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; -- cgit v1.2.3