Commit 8bec751b authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

serial: imx: Fix build breakage

Fix breakage introduced by
commit c557d392,
'serial: Test for no tx data on tx restart'.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 99ecb001
...@@ -567,7 +567,7 @@ static void imx_start_tx(struct uart_port *port) ...@@ -567,7 +567,7 @@ static void imx_start_tx(struct uart_port *port)
struct imx_port *sport = (struct imx_port *)port; struct imx_port *sport = (struct imx_port *)port;
unsigned long temp; unsigned long temp;
if (uart_circ_empty(&port.state->xmit)) if (uart_circ_empty(&port->state->xmit))
return; return;
if (USE_IRDA(sport)) { if (USE_IRDA(sport)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment