From 30bf63c7bcd460f5f38c44f6dc6845fcc27e7529 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Fri, 10 Jan 2003 01:21:18 -0100 Subject: [PATCH] [WATCHDOG] C99 struct initialisers for shwdt --- drivers/char/watchdog/shwdt.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/char/watchdog/shwdt.c b/drivers/char/watchdog/shwdt.c index 8761e4a92736..2f32ebc5708e 100644 --- a/drivers/char/watchdog/shwdt.c +++ b/drivers/char/watchdog/shwdt.c @@ -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, }; /** -- 2.39.5