diff options
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r-- | drivers/tty/serial/serial_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index ce8899c13af3..f2303f390345 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c | |||
@@ -111,7 +111,7 @@ void uart_write_wakeup(struct uart_port *port) | |||
111 | * closed. No cookie for you. | 111 | * closed. No cookie for you. |
112 | */ | 112 | */ |
113 | BUG_ON(!state); | 113 | BUG_ON(!state); |
114 | tty_wakeup(state->port.tty); | 114 | tty_port_tty_wakeup(&state->port); |
115 | } | 115 | } |
116 | 116 | ||
117 | static void uart_stop(struct tty_struct *tty) | 117 | static void uart_stop(struct tty_struct *tty) |
@@ -632,7 +632,7 @@ static void uart_flush_buffer(struct tty_struct *tty) | |||
632 | if (port->ops->flush_buffer) | 632 | if (port->ops->flush_buffer) |
633 | port->ops->flush_buffer(port); | 633 | port->ops->flush_buffer(port); |
634 | uart_port_unlock(port, flags); | 634 | uart_port_unlock(port, flags); |
635 | tty_wakeup(tty); | 635 | tty_port_tty_wakeup(&state->port); |
636 | } | 636 | } |
637 | 637 | ||
638 | /* | 638 | /* |