projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c87fe1c
)
sunserial: Don't call add_preferred_console() when console= is specified.
author
David S. Miller
<davem@davemloft.net>
Wed, 26 May 2010 06:51:17 +0000
(23:51 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 May 2010 06:51:17 +0000
(23:51 -0700)
Reported-by: Frans Pop <elendil@planet.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/suncore.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/suncore.c
b/drivers/serial/suncore.c
index ed7d958b0a01fa96a2f4a746189090cdce45bc6d..544f2e25d0e545f30f959019f4a176bdccb20af8 100644
(file)
--- a/
drivers/serial/suncore.c
+++ b/
drivers/serial/suncore.c
@@
-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;
}