diff options
Diffstat (limited to 'drivers/char/rocket_int.h')
-rw-r--r-- | drivers/char/rocket_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/rocket_int.h b/drivers/char/rocket_int.h index 3a8bcc85bc14..b4c53dfa7951 100644 --- a/drivers/char/rocket_int.h +++ b/drivers/char/rocket_int.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #define ROCKET_TYPE_MODEMIII 3 | 15 | #define ROCKET_TYPE_MODEMIII 3 |
16 | #define ROCKET_TYPE_PC104 4 | 16 | #define ROCKET_TYPE_PC104 4 |
17 | 17 | ||
18 | #include <linux/mutex.h> | ||
19 | |||
18 | #include <asm/io.h> | 20 | #include <asm/io.h> |
19 | #include <asm/byteorder.h> | 21 | #include <asm/byteorder.h> |
20 | 22 | ||
@@ -1156,8 +1158,6 @@ struct r_port { | |||
1156 | int xmit_head; | 1158 | int xmit_head; |
1157 | int xmit_tail; | 1159 | int xmit_tail; |
1158 | int xmit_cnt; | 1160 | int xmit_cnt; |
1159 | int session; | ||
1160 | int pgrp; | ||
1161 | int cd_status; | 1161 | int cd_status; |
1162 | int ignore_status_mask; | 1162 | int ignore_status_mask; |
1163 | int read_status_mask; | 1163 | int read_status_mask; |
@@ -1171,7 +1171,7 @@ struct r_port { | |||
1171 | struct wait_queue *close_wait; | 1171 | struct wait_queue *close_wait; |
1172 | #endif | 1172 | #endif |
1173 | spinlock_t slock; | 1173 | spinlock_t slock; |
1174 | struct semaphore write_sem; | 1174 | struct mutex write_mtx; |
1175 | }; | 1175 | }; |
1176 | 1176 | ||
1177 | #define RPORT_MAGIC 0x525001 | 1177 | #define RPORT_MAGIC 0x525001 |