ARM: 6030/1: KS8695: enable console
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 7 Apr 2010 08:34:56 +0000 (09:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 23 Apr 2010 09:01:56 +0000 (10:01 +0100)
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>
drivers/serial/serial_ks8695.c

index 2e71bbc04dac4d49054ca682f8b6976ce82dba86..b1962025b1aa7f79a381a58bd1d2ce56909ab180 100644 (file)
@@ -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;
 }