Commit 30bf63c7 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[WATCHDOG] C99 struct initialisers for shwdt

parent 6a4667e8
...@@ -334,21 +334,21 @@ static struct file_operations sh_wdt_fops = { ...@@ -334,21 +334,21 @@ static struct file_operations sh_wdt_fops = {
}; };
static struct watchdog_info sh_wdt_info = { static struct watchdog_info sh_wdt_info = {
WDIOF_KEEPALIVEPING, .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE,
1, .firmware_version = 1,
"SH WDT", .identity = "SH WDT",
}; };
static struct notifier_block sh_wdt_notifier = { static struct notifier_block sh_wdt_notifier = {
sh_wdt_notify_sys, .notifier_call = sh_wdt_notify_sys,
NULL, .next = NULL,
0 .priority = 0
}; };
static struct miscdevice sh_wdt_miscdev = { static struct miscdevice sh_wdt_miscdev = {
WATCHDOG_MINOR, .minor = WATCHDOG_MINOR,
"watchdog", .name = "watchdog",
&sh_wdt_fops, .fops &sh_wdt_fops,
}; };
/** /**
......
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