|
@@ -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")) {
|
|
|
|
- setleds("pccn");
|
|
|
|
-#endif
|
|
|
|
|
|
+ if (!strcmp(consdev, "pcconsole0")) {
|
|
|
|
+ setleds("pccn");
|
|
} else
|
|
} else
|
|
|
|
+#endif
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
return 0;
|
|
return 0;
|