diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/generic_serial.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/generic_serial.h')
| -rw-r--r-- | include/linux/generic_serial.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/generic_serial.h b/include/linux/generic_serial.h index 0abe9d9a0069..652611a4bdcd 100644 --- a/include/linux/generic_serial.h +++ b/include/linux/generic_serial.h | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | #ifndef GENERIC_SERIAL_H | 12 | #ifndef GENERIC_SERIAL_H |
| 13 | #define GENERIC_SERIAL_H | 13 | #define GENERIC_SERIAL_H |
| 14 | 14 | ||
| 15 | #include <linux/mutex.h> | ||
| 16 | |||
| 15 | struct real_driver { | 17 | struct real_driver { |
| 16 | void (*disable_tx_interrupts) (void *); | 18 | void (*disable_tx_interrupts) (void *); |
| 17 | void (*enable_tx_interrupts) (void *); | 19 | void (*enable_tx_interrupts) (void *); |
| @@ -34,7 +36,7 @@ struct gs_port { | |||
| 34 | int xmit_head; | 36 | int xmit_head; |
| 35 | int xmit_tail; | 37 | int xmit_tail; |
| 36 | int xmit_cnt; | 38 | int xmit_cnt; |
| 37 | struct semaphore port_write_sem; | 39 | struct mutex port_write_mutex; |
| 38 | int flags; | 40 | int flags; |
| 39 | wait_queue_head_t open_wait; | 41 | wait_queue_head_t open_wait; |
| 40 | wait_queue_head_t close_wait; | 42 | wait_queue_head_t close_wait; |
