git: b3551da9cd3d - main - efi_console: Use c99 initializers

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 20 May 2024 04:08:41 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=b3551da9cd3dacbc7242c3be6fefe234784645fe

commit b3551da9cd3dacbc7242c3be6fefe234784645fe
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-05-19 20:57:16 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-20 04:05:42 +0000

    efi_console: Use c99 initializers
    
    Sponsored by:           Netflix
---
 stand/efi/libefi/efi_console.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/stand/efi/libefi/efi_console.c b/stand/efi/libefi/efi_console.c
index 4a3219ef3017..2e28cf1ec460 100644
--- a/stand/efi/libefi/efi_console.c
+++ b/stand/efi/libefi/efi_console.c
@@ -126,14 +126,14 @@ int efi_cons_poll(void);
 static void cons_draw_frame(teken_attr_t *);
 
 struct console efi_console = {
-	"efi",
-	"EFI console",
-	C_WIDEOUT,
-	efi_cons_probe,
-	efi_cons_init,
-	efi_cons_putchar,
-	efi_cons_getchar,
-	efi_cons_poll
+	.c_name = "efi",
+	.c_desc = "EFI console",
+	.c_flags = C_WIDEOUT,
+	.c_probe = efi_cons_probe,
+	.c_init = efi_cons_init,
+	.c_out = efi_cons_putchar,
+	.c_in = efi_cons_getchar,
+	.c_ready = efi_cons_poll
 };
 
 /*