ARM64: DTS: Add rk3399-firefly uart4 device, node as /dev/ttyS1
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / hvc_vio.c
index 5618b5fc7500e149dfd79ac2515309749f905834..f575a9b5ede7b05bd24c87ecf58425e89ec20fdc 100644 (file)
@@ -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);
 }