diff options
| author | Warner Losh <imp@FreeBSD.org> | 2024-05-19 21:01:23 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-05-20 04:05:42 +0000 |
| commit | 1f180d0a404a700889e40a91bbe21c20f310da4a (patch) | |
| tree | 389e67e6bf693431bf30c3f3ef36021f0ea33fb9 | |
| parent | 6e28b4aa15e057f59c0e022094c3f82f3062c2a3 (diff) | |
| -rw-r--r-- | stand/libofw/ofw_console.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/stand/libofw/ofw_console.c b/stand/libofw/ofw_console.c index b0ead0aba198..4fbd43d3f612 100644 --- a/stand/libofw/ofw_console.c +++ b/stand/libofw/ofw_console.c @@ -41,14 +41,13 @@ static ihandle_t stdin; static ihandle_t stdout; struct console ofwconsole = { - "ofw", - "Open Firmware console", - 0, - ofw_cons_probe, - ofw_cons_init, - ofw_cons_putchar, - ofw_cons_getchar, - ofw_cons_poll, + .c_cname = "ofw", + .c_desc = "Open Firmware console", + .c_probe = ofw_cons_probe, + .c_init = ofw_cons_init, + .c_out = ofw_cons_putchar, + .c_in = ofw_cons_getchar, + .c_ready = ofw_cons_poll, }; static void |
