Skip to content

Commit

Permalink
serial: imx: Fix build breakage
Browse files Browse the repository at this point in the history
Fix breakage introduced by
commit c557d39,
'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>
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Jul 12, 2014
1 parent 99ecb00 commit 8bec751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,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)) {
Expand Down

0 comments on commit 8bec751

Please sign in to comment.