提交 7c1f6afc 编写于 作者: D David S. Miller

sunserial: Don't call add_preferred_console() when console= is specified.

Reported-by: NFrans Pop <elendil@planet.nl>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c87fe1c0
......@@ -71,7 +71,9 @@ int sunserial_console_match(struct console *con, struct device_node *dp,
con->index = line;
drv->cons = con;
add_preferred_console(con->name, line, NULL);
if (!console_set_on_cmdline)
add_preferred_console(con->name, line, NULL);
return 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册