Skip to content
Snippets Groups Projects
Commit 2e25406f authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Sibyte: Fix build error if CONFIG_SERIAL_SB1250_DUART is undefined.

This fixes kernel.org bugzilla 13596, see
http://bugzilla.kernel.org/show_bug.cgi?id=13596



Reported-by: default avatar <dvice_null@yahoo.com>

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ab7f6f30
No related branches found
No related tags found
No related merge requests found
...@@ -51,12 +51,13 @@ static int cfe_console_setup(struct console *cons, char *str) ...@@ -51,12 +51,13 @@ static int cfe_console_setup(struct console *cons, char *str)
setleds("u0cn"); setleds("u0cn");
} else if (!strcmp(consdev, "uart1")) { } else if (!strcmp(consdev, "uart1")) {
setleds("u1cn"); setleds("u1cn");
} else
#endif #endif
#ifdef CONFIG_VGA_CONSOLE #ifdef CONFIG_VGA_CONSOLE
} else if (!strcmp(consdev, "pcconsole0")) { if (!strcmp(consdev, "pcconsole0")) {
setleds("pccn"); setleds("pccn");
#endif
} else } else
#endif
return -ENODEV; return -ENODEV;
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment