Revert "serial: i.MX: evaluate linux,stdout-path property"
This reverts commit f7d2c0bbdb
, 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>
This commit is contained in:
parent
d0e639c9e0
commit
b4e788df8d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue