summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2010-04-07 09:34:56 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-23 10:01:56 +0100
commit0ad707407d933841a0f337d6edccbc1d6c83e186 (patch)
tree3d61be085e2a7cf5b1001bb5f00dacce97193faf /drivers/serial
parent64b997c5142a13373857de09599afd2f079c2f7a (diff)
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;
}