diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 19:06:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 19:06:59 -0700 |
commit | b4e788df8d8132d25a76c22df340ab2e4bae630f (patch) | |
tree | a116c84cb6fb1f0602b105dee04ba373809b07fc | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af (diff) | |
download | op-kernel-dev-b4e788df8d8132d25a76c22df340ab2e4bae630f.zip op-kernel-dev-b4e788df8d8132d25a76c22df340ab2e4bae630f.tar.gz |
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 <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>
-rw-r--r-- | drivers/tty/serial/imx.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 |