aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 40b4cc4f8e1d..3231a43f6acf 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -131,6 +131,8 @@ struct uart_port {
131 void (*pm)(struct uart_port *, unsigned int state, 131 void (*pm)(struct uart_port *, unsigned int state,
132 unsigned int old); 132 unsigned int old);
133 void (*handle_break)(struct uart_port *); 133 void (*handle_break)(struct uart_port *);
134 int (*rs485_config)(struct uart_port *,
135 struct serial_rs485 *rs485);
134 unsigned int irq; /* irq number */ 136 unsigned int irq; /* irq number */
135 unsigned long irqflags; /* irq flags */ 137 unsigned long irqflags; /* irq flags */
136 unsigned int uartclk; /* base uart clock */ 138 unsigned int uartclk; /* base uart clock */
@@ -231,6 +233,7 @@ struct uart_port {
231 unsigned char unused[2]; 233 unsigned char unused[2];
232 struct attribute_group *attr_group; /* port specific attributes */ 234 struct attribute_group *attr_group; /* port specific attributes */
233 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ 235 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */
236 struct serial_rs485 rs485;
234 void *private_data; /* generic platform data pointer */ 237 void *private_data; /* generic platform data pointer */
235}; 238};
236 239