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