Skip to content

Commit

Permalink
ARM: 6030/1: KS8695: enable console
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yegor Yefremov authored and Russell King committed Apr 23, 2010
1 parent 64b997c commit 0ad7074
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/serial_ks8695.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ad7074

Please sign in to comment.