Skip to contentSkip to conversation

sh: early printk port type fix

PATCH New Magnus Damm 1 participant 1 message Nov 13, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: early printk port type fix

From: Magnus Damm <[email protected]>

Add PORT_SCIF to unbreak the early printk code.

---

 arch/sh/kernel/early_printk.c |    1 +
 1 file changed, 1 insertion(+)
arch/sh/kernel/early_printk.c +1 -0
@@ -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,
 };