diff options
author | Alan Cox <alan@redhat.com> | 2008-07-16 21:55:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 17:12:36 -0700 |
commit | 52d417388d154f68f8ab753de03b1fba1814de81 (patch) | |
tree | 7d89c6954fb64fc64f0b64f37c951f79cc56a32b /drivers/char/epca.h | |
parent | 7a4d29f426f17479395980ded8fa5e3bdd6d94e4 (diff) |
epca: use tty_port
Switch the EPCA driver to include and begin using a 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/epca.h')
-rw-r--r-- | drivers/char/epca.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/char/epca.h b/drivers/char/epca.h index 3c77c02b5d65..d414bf2dbf7c 100644 --- a/drivers/char/epca.h +++ b/drivers/char/epca.h @@ -84,6 +84,7 @@ static char *board_desc[] = struct channel { long magic; + struct tty_port port; unsigned char boardnum; unsigned char channelnum; unsigned char omodem; /* FEP output modem status */ @@ -117,10 +118,7 @@ struct channel unsigned short rxbufhead; unsigned short rxbufsize; int close_delay; - int count; - int blocked_open; unsigned long event; - int asyncflags; uint dev; unsigned long statusflags; unsigned long c_iflag; @@ -132,9 +130,6 @@ struct channel struct board_info *board; struct board_chan __iomem *brdchan; struct digi_struct digiext; - struct tty_struct *tty; - wait_queue_head_t open_wait; - wait_queue_head_t close_wait; struct work_struct tqueue; struct global_data __iomem *mailbox; }; |