Commit 55d66366 authored by Dave Jones's avatar Dave Jones

c99 initialisers

parent 467578b9
...@@ -158,17 +158,17 @@ static int softdog_ioctl(struct inode *inode, struct file *file, ...@@ -158,17 +158,17 @@ static int softdog_ioctl(struct inode *inode, struct file *file,
} }
static struct file_operations softdog_fops = { static struct file_operations softdog_fops = {
owner: THIS_MODULE, .owner= THIS_MODULE,
write: softdog_write, .write= softdog_write,
ioctl: softdog_ioctl, .ioctl= softdog_ioctl,
open: softdog_open, .open= softdog_open,
release: softdog_release, .release= softdog_release,
}; };
static struct miscdevice softdog_miscdev = { static struct miscdevice softdog_miscdev = {
minor: WATCHDOG_MINOR, .minor= WATCHDOG_MINOR,
name: "watchdog", .name= "watchdog",
fops: &softdog_fops, .fops= &softdog_fops,
}; };
static char banner[] __initdata = KERN_INFO "Software Watchdog Timer: 0.06, soft_margin: %d sec, nowayout: %d\n"; static char banner[] __initdata = KERN_INFO "Software Watchdog Timer: 0.06, soft_margin: %d sec, nowayout: %d\n";
......
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