summaryrefslogtreecommitdiff
path: root/include/linux/stallion.h
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-17 00:56:37 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-21 04:12:37 +0400
commitf8ae47641611fcdf175ab8bbe89054731b16971d (patch)
tree9008eb8b650ef694b302bbc22e6a4e8a6d54bcd6 /include/linux/stallion.h
parentb1d1619b4a53072f19e41b1def71fd223fc5d780 (diff)
downloadlinux-f8ae47641611fcdf175ab8bbe89054731b16971d.tar.xz
stallion: use tty_port
Switch the stallion driver to use the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/stallion.h')
-rw-r--r--include/linux/stallion.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/stallion.h b/include/linux/stallion.h
index 0424d75a5aaa..336af33c6ea4 100644
--- a/include/linux/stallion.h
+++ b/include/linux/stallion.h
@@ -69,6 +69,7 @@ struct stlrq {
*/
struct stlport {
unsigned long magic;
+ struct tty_port port;
unsigned int portnr;
unsigned int panelnr;
unsigned int brdnr;
@@ -76,12 +77,10 @@ struct stlport {
int uartaddr;
unsigned int pagenr;
unsigned long istate;
- int flags;
int baud_base;
int custom_divisor;
int close_delay;
int closing_wait;
- int refcount;
int openwaitcnt;
int brklen;
unsigned int sigs;
@@ -92,9 +91,6 @@ struct stlport {
unsigned long clk;
unsigned long hwid;
void *uartp;
- struct tty_struct *tty;
- wait_queue_head_t open_wait;
- wait_queue_head_t close_wait;
comstats_t stats;
struct stlrq tx;
};