Skip to content

Commit bfbedf7

Browse files
Magnus Dammpmundt
authored andcommitted
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>
1 parent bff4056 commit bfbedf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/sh/kernel/early_printk.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ static struct console bios_console = {
7575
#endif
7676

7777
static struct uart_port scif_port = {
78+
.type = PORT_SCIF,
7879
.mapbase = CONFIG_EARLY_SCIF_CONSOLE_PORT,
7980
.membase = (char __iomem *)CONFIG_EARLY_SCIF_CONSOLE_PORT,
8081
};

0 commit comments

Comments
 (0)