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) ...@@ -65,11 +65,11 @@ static kdev_t memcons_device (struct console *co)
static struct console memcons = static struct console memcons =
{ {
name: "memcons", .name = "memcons",
write: memcons_write, .write = memcons_write,
device: memcons_device, .device = memcons_device,
flags: CON_PRINTBUFFER, .flags = CON_PRINTBUFFER,
index: -1, .index = -1,
}; };
void memcons_setup (void) void memcons_setup (void)
......
...@@ -60,8 +60,8 @@ static void cpuinfo_stop (struct seq_file *m, void *v) ...@@ -60,8 +60,8 @@ static void cpuinfo_stop (struct seq_file *m, void *v)
} }
struct seq_operations cpuinfo_op = { struct seq_operations cpuinfo_op = {
start: cpuinfo_start, .start = cpuinfo_start,
next: cpuinfo_next, .next = cpuinfo_next,
stop: cpuinfo_stop, .stop = cpuinfo_stop,
show: cpuinfo_print .show = cpuinfo_print
}; };
...@@ -116,15 +116,15 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence) ...@@ -116,15 +116,15 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence)
} }
static struct file_operations leds_fops = { static struct file_operations leds_fops = {
read: leds_dev_read, .read = leds_dev_read,
write: leds_dev_write, .write = leds_dev_write,
llseek: leds_dev_lseek .llseek = leds_dev_lseek
}; };
static struct miscdevice leds_miscdev = { static struct miscdevice leds_miscdev = {
name: "leds", .name = "leds",
minor: LEDS_MINOR, .minor = LEDS_MINOR,
fops: &leds_fops .fops = &leds_fops
}; };
int __init leds_dev_init (void) 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