mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
serial: imx: Fix build breakage
commit8bec751bd6upstream. Fix breakage introduced by commitc557d392fb, 'serial: Test for no tx data on tx restart'. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
518cca0c37
commit
b91064ad3f
@@ -563,7 +563,7 @@ static void imx_start_tx(struct uart_port *port)
|
||||
struct imx_port *sport = (struct imx_port *)port;
|
||||
unsigned long temp;
|
||||
|
||||
if (uart_circ_empty(&port.state->xmit))
|
||||
if (uart_circ_empty(&port->state->xmit))
|
||||
return;
|
||||
|
||||
if (USE_IRDA(sport)) {
|
||||
|
||||
Reference in New Issue
Block a user