uboot: Use c99 initializers for the console struct

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-05-19 14:58:42 -06:00
parent b3551da9cd
commit 6e28b4aa15

View file

@ -37,14 +37,13 @@ static int uboot_cons_getchar(void);
static int uboot_cons_poll(void);
struct console uboot_console = {
"uboot",
"U-Boot console",
0,
uboot_cons_probe,
uboot_cons_init,
uboot_cons_putchar,
uboot_cons_getchar,
uboot_cons_poll,
.c_name = "uboot",
.c_desc = "U-Boot console",
.c_probe = uboot_cons_probe,
.c_init = uboot_cons_init,
.c_out = uboot_cons_putchar,
.c_int = uboot_cons_getchar,
.c_ready = uboot_cons_poll,
};
static void