aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r--drivers/tty/serial/imx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index bb84f8d4c54e..b2cfdb661947 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1896,10 +1896,6 @@ static int serial_imx_probe_dt(struct imx_port *sport,
1896 1896
1897 sport->devdata = of_id->data; 1897 sport->devdata = of_id->data;
1898 1898
1899 if (of_device_is_stdout_path(np))
1900 add_preferred_console(imx_reg.cons->name, sport->port.line,
1901 NULL);
1902
1903 return 0; 1899 return 0;
1904} 1900}
1905#else 1901#else