summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/promcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/dec/promcon.c')
-rw-r--r--arch/mips/dec/promcon.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/arch/mips/dec/promcon.c b/arch/mips/dec/promcon.c
index de9eaf5b2..2c8ba4d7f 100644
--- a/arch/mips/dec/promcon.c
+++ b/arch/mips/dec/promcon.c
@@ -47,17 +47,13 @@ static kdev_t prom_console_device(struct console *c)
static struct console sercons =
{
- "ttyS",
- prom_console_write,
- NULL,
- prom_console_device,
- prom_console_wait_key,
- NULL,
- prom_console_setup,
- CON_PRINTBUFFER,
- -1,
- 0,
- NULL
+ name: "ttyS",
+ write: prom_console_write,
+ device: prom_console_device,
+ wait_key: prom_console_wait_key,
+ setup: prom_console_setup,
+ flags: CON_PRINTBUFFER,
+ index: -1,
};
/*