Skip to content

Commit

Permalink
Revert "serial: i.MX: evaluate linux,stdout-path property"
Browse files Browse the repository at this point in the history
This reverts commit f7d2c0b, 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>
  • Loading branch information
gregkh authored and Nitin Garg committed Apr 16, 2014
1 parent 32a18bf commit 446691e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1896,10 +1896,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
Expand Down

0 comments on commit 446691e

Please sign in to comment.