serial: move delta_msr_wait into the tty_port
This is used by various drivers not just serial and can be extracted as commonality Signed-off-by: Alan Cox <alan@linux.intel.com>
This commit is contained in:
@@ -451,7 +451,7 @@ static void sunzilog_status_handle(struct uart_sunzilog_port *up,
|
||||
uart_handle_cts_change(&up->port,
|
||||
(status & CTS));
|
||||
|
||||
wake_up_interruptible(&up->port.state->delta_msr_wait);
|
||||
wake_up_interruptible(&up->port.state->port.delta_msr_wait);
|
||||
}
|
||||
|
||||
up->prev_status = status;
|
||||
|
Reference in New Issue
Block a user