diff options
| author | Warner Losh <imp@FreeBSD.org> | 2024-05-19 20:47:20 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-05-20 04:05:41 +0000 |
| commit | f989ebd4dea2ad45f3dd491d86f821a524a0360f (patch) | |
| tree | 3a31b04ba81447794e62e1cc8c82a472143a429b /stand/kboot | |
| parent | 0111f09ca67070271e43655db2e4989cf2d64f88 (diff) | |
Diffstat (limited to 'stand/kboot')
| -rw-r--r-- | stand/kboot/kboot/hostcons.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/stand/kboot/kboot/hostcons.c b/stand/kboot/kboot/hostcons.c index 114188adcff2..9c09a2721891 100644 --- a/stand/kboot/kboot/hostcons.c +++ b/stand/kboot/kboot/hostcons.c @@ -35,14 +35,13 @@ static int hostcons_getchar(void); static int hostcons_poll(void); struct console hostconsole = { - "host", - "Host Console", - 0, - hostcons_probe, - hostcons_init, - hostcons_putchar, - hostcons_getchar, - hostcons_poll, + .c_name = "host", + .c_desc = "Host Console", + .c_probe = hostcons_probe, + .c_init = hostcons_init, + .c_out = hostcons_putchar, + .c_in = hostcons_getchar, + .c_ready = hostcons_poll, }; static struct host_termios old_settings; |
