]> Git Repo - linux.git/commitdiff
serial: imx: Fix build breakage
authorPeter Hurley <[email protected]>
Fri, 11 Jul 2014 02:36:46 +0000 (22:36 -0400)
committerGreg Kroah-Hartman <[email protected]>
Sat, 12 Jul 2014 00:43:13 +0000 (17:43 -0700)
Fix breakage introduced by
commit c557d392fbf5badd693ea1946a4317c87a26a716,
'serial: Test for no tx data on tx restart'.

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/imx.c

index 56bd9aa561519c4c8c4df2a631562327d24bbb8e..044e86d528aef9bfa5c705d40f1997e5fc9e92e3 100644 (file)
@@ -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)) {
This page took 0.048224 seconds and 4 git commands to generate.