|
@@ -302,7 +302,7 @@ static inline int is_imx6q_uart(struct imx_port *sport)
|
|
/*
|
|
/*
|
|
* Save and restore functions for UCR1, UCR2 and UCR3 registers
|
|
* Save and restore functions for UCR1, UCR2 and UCR3 registers
|
|
*/
|
|
*/
|
|
-#if defined(CONFIG_CONSOLE_POLL) || defined(CONFIG_SERIAL_IMX_CONSOLE)
|
|
|
|
|
|
+#if defined(CONFIG_SERIAL_IMX_CONSOLE)
|
|
static void imx_port_ucrs_save(struct uart_port *port,
|
|
static void imx_port_ucrs_save(struct uart_port *port,
|
|
struct imx_port_ucrs *ucr)
|
|
struct imx_port_ucrs *ucr)
|
|
{
|
|
{
|