Commit 603bca3a authored by Art Haas's avatar Art Haas Committed by Andy Grover

[PATCH] C99 designated initializers for arch/v850

parent cbb89e29
......@@ -65,11 +65,11 @@ static kdev_t memcons_device (struct console *co)
static struct console memcons =
{
name: "memcons",
write: memcons_write,
device: memcons_device,
flags: CON_PRINTBUFFER,
index: -1,
.name = "memcons",
.write = memcons_write,
.device = memcons_device,
.flags = CON_PRINTBUFFER,
.index = -1,
};
void memcons_setup (void)
......
......@@ -60,8 +60,8 @@ static void cpuinfo_stop (struct seq_file *m, void *v)
}
struct seq_operations cpuinfo_op = {
start: cpuinfo_start,
next: cpuinfo_next,
stop: cpuinfo_stop,
show: cpuinfo_print
.start = cpuinfo_start,
.next = cpuinfo_next,
.stop = cpuinfo_stop,
.show = cpuinfo_print
};
......@@ -116,15 +116,15 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence)
}
static struct file_operations leds_fops = {
read: leds_dev_read,
write: leds_dev_write,
llseek: leds_dev_lseek
.read = leds_dev_read,
.write = leds_dev_write,
.llseek = leds_dev_lseek
};
static struct miscdevice leds_miscdev = {
name: "leds",
minor: LEDS_MINOR,
fops: &leds_fops
.name = "leds",
.minor = LEDS_MINOR,
.fops = &leds_fops
};
int __init leds_dev_init (void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment