]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "serial: i.MX: evaluate linux,stdout-path property"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Oct 2013 02:06:59 +0000 (19:06 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:41 +0000 (10:06 +0200)
This reverts commit f7d2c0bbdb7b784cc035cacb7d36b379ba1c3bef, as it
causes build errors when the driver is built as a module.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Huang Shijie <b32955@freescale.com>
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