]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/serial/imx.c
Revert "serial: i.MX: evaluate linux,stdout-path property"
[karo-tx-linux.git] / drivers / tty / serial / imx.c
index 83fc81af214f2a40ea69a8133d5f62938c99a1b9..1c0997baf2492977756a43048d834b0e3451ae85 100644 (file)
@@ -1878,10 +1878,6 @@ static int serial_imx_probe_dt(struct imx_port *sport,
 
        sport->devdata = of_id->data;
 
-       if (of_device_is_stdout_path(np))
-               add_preferred_console(imx_reg.cons->name, sport->port.line,
-                                     NULL);
-
        return 0;
 }
 #else