You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
sunserial: Don't call add_preferred_console() when console= is specified.
Reported-by: Frans Pop <elendil@planet.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -71,7 +71,9 @@ int sunserial_console_match(struct console *con, struct device_node *dp,
|
|||||||
|
|
||||||
con->index = line;
|
con->index = line;
|
||||||
drv->cons = con;
|
drv->cons = con;
|
||||||
add_preferred_console(con->name, line, NULL);
|
|
||||||
|
if (!console_set_on_cmdline)
|
||||||
|
add_preferred_console(con->name, line, NULL);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user