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: dvice_null@yahoo.com

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+4 -3
+4 -3
arch/mips/sibyte/common/cfe_console.c
··· 51 setleds("u0cn"); 52 } else if (!strcmp(consdev, "uart1")) { 53 setleds("u1cn"); 54 #endif 55 #ifdef CONFIG_VGA_CONSOLE 56 - } else if (!strcmp(consdev, "pcconsole0")) { 57 - setleds("pccn"); 58 - #endif 59 } else 60 return -ENODEV; 61 } 62 return 0;
··· 51 setleds("u0cn"); 52 } else if (!strcmp(consdev, "uart1")) { 53 setleds("u1cn"); 54 + } else 55 #endif 56 #ifdef CONFIG_VGA_CONSOLE 57 + if (!strcmp(consdev, "pcconsole0")) { 58 + setleds("pccn"); 59 } else 60 + #endif 61 return -ENODEV; 62 } 63 return 0;