diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 22:06:59 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:47:10 -0400 |
commit | 446691e3b1a9f15b4bf6a82ffb47afb147c72aa6 (patch) | |
tree | 2ded215d1697f5ee0ab6bd83b2e607a944934506 /drivers/tty | |
parent | 32a18bf13772e6b1d22305696c5fe8d150822b07 (diff) |
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>
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/imx.c | 4 |
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 |