diff options
author | Alan Cox <alan@linux.intel.com> | 2009-09-19 16:13:28 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:28 -0400 |
commit | 5e99df561fc830730d63672d795a0b02ef8cdd6f (patch) | |
tree | 6fffbbb737a7d01d58b7b9415f041bd50fca26b4 /include/linux | |
parent | ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 (diff) |
serial: Fold closing_* fields into the tty_port ones
Remove some more serial specific use
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/serial_core.h | 2 | ||||
-rw-r--r-- | include/linux/tty.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index c1542703fbab..fd11d4d5a571 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -350,8 +350,6 @@ typedef unsigned int __bitwise__ uif_t; | |||
350 | */ | 350 | */ |
351 | struct uart_state { | 351 | struct uart_state { |
352 | struct tty_port port; | 352 | struct tty_port port; |
353 | unsigned int close_delay; /* msec */ | ||
354 | unsigned int closing_wait; /* msec */ | ||
355 | 353 | ||
356 | #define USF_CLOSING_WAIT_INF (0) | 354 | #define USF_CLOSING_WAIT_INF (0) |
357 | #define USF_CLOSING_WAIT_NONE (~0U) | 355 | #define USF_CLOSING_WAIT_NONE (~0U) |
diff --git a/include/linux/tty.h b/include/linux/tty.h index ecb3d1ba3017..9fdc3d84baad 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -206,8 +206,8 @@ struct tty_port { | |||
206 | unsigned long flags; /* TTY flags ASY_*/ | 206 | unsigned long flags; /* TTY flags ASY_*/ |
207 | struct mutex mutex; /* Locking */ | 207 | struct mutex mutex; /* Locking */ |
208 | unsigned char *xmit_buf; /* Optional buffer */ | 208 | unsigned char *xmit_buf; /* Optional buffer */ |
209 | int close_delay; /* Close port delay */ | 209 | unsigned int close_delay; /* Close port delay */ |
210 | int closing_wait; /* Delay for output */ | 210 | unsigned int closing_wait; /* Delay for output */ |
211 | int drain_delay; /* Set to zero if no pure time | 211 | int drain_delay; /* Set to zero if no pure time |
212 | based drain is needed else | 212 | based drain is needed else |
213 | set to size of fifo */ | 213 | set to size of fifo */ |