X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ftty%2Fhvc%2Fhvc_vio.c;h=f575a9b5ede7b05bd24c87ecf58425e89ec20fdc;hb=e2b0a1613200a044b0e5e3a78d157ab746a7a4fa;hp=5618b5fc7500e149dfd79ac2515309749f905834;hpb=b10778a00d40b3d9fdaaf5891e802794781ff71c;p=firefly-linux-kernel-4.4.55.git 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) return; #endif /* Check whether the user has requested a different console. */ - if (!strstr(cmd_line, "console=")) + if (!strstr(boot_command_line, "console=")) add_preferred_console("hvc", 0, NULL); hvc_instantiate(0, 0, ops); }