summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2010-04-07 10:34:56 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-23 11:01:56 +0200
commit0ad707407d933841a0f337d6edccbc1d6c83e186 (patch)
tree3d61be085e2a7cf5b1001bb5f00dacce97193faf /drivers/serial
parentARM: 6060/1: PL061 GPIO: Setting gpio val after changing direction to OUT. (diff)
downloadlinux-0ad707407d933841a0f337d6edccbc1d6c83e186.tar.xz
linux-0ad707407d933841a0f337d6edccbc1d6c83e186.zip
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_ks8695.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_ks8695.c b/drivers/serial/serial_ks8695.c
index 2e71bbc04dac..b1962025b1aa 100644
--- a/drivers/serial/serial_ks8695.c
+++ b/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;
}