diff options
author | Alan Cox <alan@redhat.com> | 2008-07-16 22:56:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-21 02:12:37 +0200 |
commit | e60a10844879794c7b592acf123cbf9ea0e2c0e7 (patch) | |
tree | 48aad5909524bdfa08c99c29164f40e3be7ac2d4 /drivers/char/rocket_int.h | |
parent | mxser: use tty_port (diff) | |
download | linux-e60a10844879794c7b592acf123cbf9ea0e2c0e7.tar.xz linux-e60a10844879794c7b592acf123cbf9ea0e2c0e7.zip |
rocket: use tty_port
Switch the rocketport 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 '')
-rw-r--r-- | drivers/char/rocket_int.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/char/rocket_int.h b/drivers/char/rocket_int.h index 143cc432fdb2..3affc48f6a57 100644 --- a/drivers/char/rocket_int.h +++ b/drivers/char/rocket_int.h @@ -1125,11 +1125,9 @@ Warnings: This function writes the data byte without checking to see if struct r_port { int magic; + struct tty_port port; int line; - int flags; - int count; - int blocked_open; - struct tty_struct *tty; + int flags; /* Don't yet match the ASY_ flags!! */ unsigned int board:3; unsigned int aiop:2; unsigned int chan:3; @@ -1148,8 +1146,7 @@ struct r_port { int read_status_mask; int cps; - wait_queue_head_t open_wait; - struct completion close_wait; + struct completion close_wait; /* Not yet matching the core */ spinlock_t slock; struct mutex write_mtx; }; |