diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/serial_core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index f6fca8f2f3ca..1c53302db041 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -142,8 +142,8 @@ struct uart_ops { | |||
142 | unsigned int (*tx_empty)(struct uart_port *); | 142 | unsigned int (*tx_empty)(struct uart_port *); |
143 | void (*set_mctrl)(struct uart_port *, unsigned int mctrl); | 143 | void (*set_mctrl)(struct uart_port *, unsigned int mctrl); |
144 | unsigned int (*get_mctrl)(struct uart_port *); | 144 | unsigned int (*get_mctrl)(struct uart_port *); |
145 | void (*stop_tx)(struct uart_port *, unsigned int tty_stop); | 145 | void (*stop_tx)(struct uart_port *); |
146 | void (*start_tx)(struct uart_port *, unsigned int tty_start); | 146 | void (*start_tx)(struct uart_port *); |
147 | void (*send_xchar)(struct uart_port *, char ch); | 147 | void (*send_xchar)(struct uart_port *, char ch); |
148 | void (*stop_rx)(struct uart_port *); | 148 | void (*stop_rx)(struct uart_port *); |
149 | void (*enable_ms)(struct uart_port *); | 149 | void (*enable_ms)(struct uart_port *); |
@@ -468,13 +468,13 @@ uart_handle_cts_change(struct uart_port *port, unsigned int status) | |||
468 | if (tty->hw_stopped) { | 468 | if (tty->hw_stopped) { |
469 | if (status) { | 469 | if (status) { |
470 | tty->hw_stopped = 0; | 470 | tty->hw_stopped = 0; |
471 | port->ops->start_tx(port, 0); | 471 | port->ops->start_tx(port); |
472 | uart_write_wakeup(port); | 472 | uart_write_wakeup(port); |
473 | } | 473 | } |
474 | } else { | 474 | } else { |
475 | if (!status) { | 475 | if (!status) { |
476 | tty->hw_stopped = 1; | 476 | tty->hw_stopped = 1; |
477 | port->ops->stop_tx(port, 0); | 477 | port->ops->stop_tx(port); |
478 | } | 478 | } |
479 | } | 479 | } |
480 | } | 480 | } |