From: Greg Kroah-Hartman Date: Tue, 8 Oct 2013 02:06:59 +0000 (-0700) Subject: Revert "serial: i.MX: evaluate linux,stdout-path property" X-Git-Tag: v3.12-rc6~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4e788df8d8132d25a76c22df340ab2e4bae630f;p=kernel%2Fkernel-generic.git Revert "serial: i.MX: evaluate linux,stdout-path property" This reverts commit f7d2c0bbdb7b784cc035cacb7d36b379ba1c3bef, as it causes build errors when the driver is built as a module. Reported-by: Guenter Roeck Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index a0ebbc9..042aa07 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -1912,9 +1912,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, 0); - return 0; } #else