]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
serial: imx: Fix build breakage
authorPeter Hurley <peter@hurleysoftware.com>
Fri, 11 Jul 2014 02:36:46 +0000 (22:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 23:23:10 +0000 (16:23 -0700)
commit 8bec751bd63847b4044aab8b215db52aa6abde61 upstream.

Fix breakage introduced by
commit c557d392fbf5badd693ea1946a4317c87a26a716,
'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>
drivers/tty/serial/imx.c

index 23c1dae8ba81d02870435f9761f1add5f9adc7f7..be1c842ec74715d1702bfd4e5bdc4bd23662ef83 100644 (file)
@@ -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)) {