aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_vio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/hvc/hvc_vio.c')
-rw-r--r--drivers/tty/hvc/hvc_vio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c
index 5618b5fc7500..f575a9b5ede7 100644
--- a/drivers/tty/hvc/hvc_vio.c
+++ b/drivers/tty/hvc/hvc_vio.c
@@ -452,7 +452,7 @@ void __init hvc_vio_init_early(void)
452 return; 452 return;
453#endif 453#endif
454 /* Check whether the user has requested a different console. */ 454 /* Check whether the user has requested a different console. */
455 if (!strstr(cmd_line, "console=")) 455 if (!strstr(boot_command_line, "console="))
456 add_preferred_console("hvc", 0, NULL); 456 add_preferred_console("hvc", 0, NULL);
457 hvc_instantiate(0, 0, ops); 457 hvc_instantiate(0, 0, ops);
458} 458}