Commit e3ee9b13 authored by Art Haas's avatar Art Haas Committed by Andy Grover

[PATCH] C99 designated initializers for arch/mips64

parent 9514a176
...@@ -45,11 +45,11 @@ ip27prom_console_dev(struct console *c) ...@@ -45,11 +45,11 @@ ip27prom_console_dev(struct console *c)
} }
static struct console ip27_prom_console = { static struct console ip27_prom_console = {
name: "prom", .name = "prom",
write: ip27prom_console_write, .write = ip27prom_console_write,
device: ip27prom_console_dev, .device = ip27prom_console_dev,
flags: CON_PRINTBUFFER, .flags = CON_PRINTBUFFER,
index: -1, .index = -1,
}; };
__init void ip27_setup_console(void) __init void ip27_setup_console(void)
......
...@@ -178,10 +178,10 @@ static int rtc_release(struct inode *inode, struct file *file) ...@@ -178,10 +178,10 @@ static int rtc_release(struct inode *inode, struct file *file)
*/ */
static struct file_operations rtc_fops = { static struct file_operations rtc_fops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
ioctl: rtc_ioctl, .ioctl = rtc_ioctl,
open: rtc_open, .open = rtc_open,
release: rtc_release, .release = rtc_release,
}; };
static struct miscdevice rtc_dev= static struct miscdevice rtc_dev=
......
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