summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArt Haas <ahaas@airmail.net>2002-11-17 18:11:32 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2002-11-17 18:11:32 -0800
commitfcf34d2b8289c4e4376ba4bd675990ce625d952a (patch)
tree5233abcbb8e07bf5c2a162cbf77800b083864f28
parent4900a2800e88a60d6bf0f91eb4be72dfbb140fea (diff)
[PATCH] C99 initializers for drivers/tc
-rw-r--r--drivers/tc/lk201.c9
-rw-r--r--drivers/tc/zs.c12
2 files changed, 9 insertions, 12 deletions
diff --git a/drivers/tc/lk201.c b/drivers/tc/lk201.c
index 98994905b1c6..396d09fbae1f 100644
--- a/drivers/tc/lk201.c
+++ b/drivers/tc/lk201.c
@@ -36,12 +36,9 @@ static void __init lk201_info(struct dec_serial *);
static void lk201_kbd_rx_char(unsigned char, unsigned char);
struct zs_hook lk201_kbdhook = {
- init_channel: lk201_init,
- init_info: lk201_info,
- rx_char: NULL,
- poll_rx_char: NULL,
- poll_tx_char: NULL,
- cflags: B4800 | CS8 | CSTOPB | CLOCAL
+ .init_channel = lk201_init,
+ .init_info = lk201_info,
+ .cflags = B4800 | CS8 | CSTOPB | CLOCAL
};
/*
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index f25e9a3325a9..70b494f4df48 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -2255,12 +2255,12 @@ static int __init serial_console_setup(struct console *co, char *options)
}
static struct console sercons = {
- name: "ttyS",
- write: serial_console_write,
- device: serial_console_device,
- setup: serial_console_setup,
- flags: CON_PRINTBUFFER,
- index: -1,
+ .name = "ttyS",
+ .write = serial_console_write,
+ .device = serial_console_device,
+ .setup = serial_console_setup,
+ .flags = CON_PRINTBUFFER,
+ .index = -1,
};
/*