Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c1f6afc authored by David S. Miller's avatar David S. Miller
Browse files

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

parent c87fe1c0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ int sunserial_console_match(struct console *con, struct device_node *dp,

	con->index = line;
	drv->cons = con;

	if (!console_set_on_cmdline)
		add_preferred_console(con->name, line, NULL);

	return 1;