aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 062e7614c986..c53968e5439c 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -302,7 +302,7 @@ static inline int is_imx6q_uart(struct imx_port *sport)
302/* 302/*
303 * Save and restore functions for UCR1, UCR2 and UCR3 registers 303 * Save and restore functions for UCR1, UCR2 and UCR3 registers
304 */ 304 */
305#if defined(CONFIG_CONSOLE_POLL) || defined(CONFIG_SERIAL_IMX_CONSOLE) 305#if defined(CONFIG_SERIAL_IMX_CONSOLE)
306static void imx_port_ucrs_save(struct uart_port *port, 306static void imx_port_ucrs_save(struct uart_port *port,
307 struct imx_port_ucrs *ucr) 307 struct imx_port_ucrs *ucr)
308{ 308{