mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
ofw: Use C99 initializers for the console struct
Sponsored by: Netflix
This commit is contained in:
parent
6e28b4aa15
commit
1f180d0a40
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user