浏览代码

ARM: 6030/1: KS8695: enable console

Add add_preferred_console() to ks8695_console_init() to
enable the console

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Yegor Yefremov 15 年之前
父节点
当前提交
0ad707407d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/serial/serial_ks8695.c

+ 1 - 0
drivers/serial/serial_ks8695.c

@@ -650,6 +650,7 @@ static struct console ks8695_console = {
 
 static int __init ks8695_console_init(void)
 {
+	add_preferred_console(SERIAL_KS8695_DEVNAME, 0, NULL);
 	register_console(&ks8695_console);
 	return 0;
 }