aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rocket_int.h
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-16 16:56:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 20:12:37 -0400
commite60a10844879794c7b592acf123cbf9ea0e2c0e7 (patch)
tree48aad5909524bdfa08c99c29164f40e3be7ac2d4 /drivers/char/rocket_int.h
parent0ad9e7d1d6bf7829912be50d24d4f3f473006326 (diff)
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 'drivers/char/rocket_int.h')
-rw-r--r--drivers/char/rocket_int.h9
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
1125 1125
1126struct r_port { 1126struct r_port {
1127 int magic; 1127 int magic;
1128 struct tty_port port;
1128 int line; 1129 int line;
1129 int flags; 1130 int flags; /* Don't yet match the ASY_ flags!! */
1130 int count;
1131 int blocked_open;
1132 struct tty_struct *tty;
1133 unsigned int board:3; 1131 unsigned int board:3;
1134 unsigned int aiop:2; 1132 unsigned int aiop:2;
1135 unsigned int chan:3; 1133 unsigned int chan:3;
@@ -1148,8 +1146,7 @@ struct r_port {
1148 int read_status_mask; 1146 int read_status_mask;
1149 int cps; 1147 int cps;
1150 1148
1151 wait_queue_head_t open_wait; 1149 struct completion close_wait; /* Not yet matching the core */
1152 struct completion close_wait;
1153 spinlock_t slock; 1150 spinlock_t slock;
1154 struct mutex write_mtx; 1151 struct mutex write_mtx;
1155}; 1152};