summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/early_printk.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-11-13 15:33:45 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-11-13 15:37:07 +0900
commitbfbedf787c6b77270679429caadb044b2d33c94c (patch)
tree1ee9b1bb7917e08e7c9388704f492c1fca174d4e /arch/sh/kernel/early_printk.c
parentbff4056c8b868a4311d5ebd6cbbf09a2c10f4551 (diff)
downloadop-kernel-dev-bfbedf787c6b77270679429caadb044b2d33c94c.zip
op-kernel-dev-bfbedf787c6b77270679429caadb044b2d33c94c.tar.gz
sh: early printk port type fix
Add PORT_SCIF to unbreak the early printk code. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/early_printk.c')
-rw-r--r--arch/sh/kernel/early_printk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/early_printk.c b/arch/sh/kernel/early_printk.c
index 6b7d166..98a29a7 100644
--- a/arch/sh/kernel/early_printk.c
+++ b/arch/sh/kernel/early_printk.c
@@ -75,6 +75,7 @@ static struct console bios_console = {
#endif
static struct uart_port scif_port = {
+ .type = PORT_SCIF,
.mapbase = CONFIG_EARLY_SCIF_CONSOLE_PORT,
.membase = (char __iomem *)CONFIG_EARLY_SCIF_CONSOLE_PORT,
};
OpenPOWER on IntegriCloud