summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2002-12-01 15:37:49 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2002-12-01 15:37:49 +0000
commitb1a5ffda2f93d79f9e9aa7f478edd6e732748075 (patch)
tree95358cb30c5b80712896f0a41d3509df549dde67 /include/linux/serial_core.h
parente75784be0a412631b310e8c6ba3d88a4c11e186e (diff)
[SERIAL] Move custom_divisor from uart_state to uart_port.
This is another step towards moving the divisor calculations into the low level drivers, thereby allowing the faster baud rates mentioned in the previous cset. Moving this field to uart_port means that the low level drivers do not have to know about the uart_state structure.
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index fe25d0fa6b94..84e021607be9 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -186,6 +186,7 @@ struct uart_port {
unsigned int timeout; /* character-based timeout */
unsigned int type; /* port type */
struct uart_ops *ops;
+ unsigned int custom_divisor;
unsigned int line; /* port index */
unsigned long mapbase; /* for ioremap */
unsigned char hub6; /* this should be in the 8250 driver */
@@ -204,8 +205,6 @@ struct uart_state {
#define USF_CLOSING_WAIT_INF (0)
#define USF_CLOSING_WAIT_NONE (65535)
- unsigned int custom_divisor;
-
int count;
struct uart_info *info;
struct uart_port *port;