From: Peter Hurley Date: Fri, 11 Jul 2014 02:36:46 +0000 (-0400) Subject: serial: imx: Fix build breakage X-Git-Tag: v4.9.8~6112^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bec751bd63847b4044aab8b215db52aa6abde61;p=platform%2Fkernel%2Flinux-rpi3.git serial: imx: Fix build breakage Fix breakage introduced by commit c557d392fbf5badd693ea1946a4317c87a26a716, 'serial: Test for no tx data on tx restart'. Reported-by: Stephen Rothwell Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 56bd9aa..044e86d 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -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)) {