};
static struct miscdevice zf_miscdev = {
- WATCHDOG_MINOR,
- "watchdog",
- &zf_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &zf_fops
};
* turn the timebomb registers off.
*/
static struct notifier_block zf_notifier = {
- zf_notify_sys,
- NULL,
- 0
+ .notifier_call = zf_notify_sys,
+ .next = NULL,
+ .priority = 0
};
static void __init zf_show_action(int act)
};
static struct miscdevice wdt_miscdev = {
- WATCHDOG_MINOR,
- "watchdog",
- &wdt_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &wdt_fops
};
/*
static struct notifier_block wdt_notifier=
{
- wdt_notify_sys,
- 0,
- 0
+ .notifier_call = wdt_notify_sys,
+ .next = NULL,
+ .priority = 0
};
static void __exit sbc60xxwdt_unload(void)
}
static struct file_operations wdt_fops = {
- owner: THIS_MODULE,
- llseek: fop_llseek,
- write: fop_write,
- open: fop_open,
- release: fop_close,
- ioctl: fop_ioctl
+ .owner = THIS_MODULE,
+ .llseek = fop_llseek,
+ .write = fop_write,
+ .open = fop_open,
+ .release = fop_close,
+ .ioctl = fop_ioctl
};
static struct miscdevice wdt_miscdev = {
- WATCHDOG_MINOR,
- "watchdog",
- &wdt_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &wdt_fops
};
/*
static struct notifier_block wdt_notifier=
{
- wdt_notify_sys,
- 0,
- 0
+ .notifier_call = wdt_notify_sys,
+ .next = NULL,
+ .priority = 0
};
static void __exit sc520_wdt_unload(void)
};
static struct miscdevice wdt_miscdev = {
- WATCHDOG_MINOR,
- "watchdog",
- &wdt_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &wdt_fops
};
/*
static struct notifier_block wdt_notifier=
{
- wdt_notify_sys,
- 0,
- 0
+ .notifier_call = wdt_notify_sys,
+ .next = NULL,
+ .priority = 0
};
static void __exit w83877f_wdt_unload(void)
*/
static struct file_operations wafwdt_fops = {
- owner:THIS_MODULE,
- write:wafwdt_write,
- ioctl:wafwdt_ioctl,
- open:wafwdt_open,
- release:wafwdt_close,
+ .owner = THIS_MODULE,
+ .write = wafwdt_write,
+ .ioctl = wafwdt_ioctl,
+ .open = wafwdt_open,
+ .release = wafwdt_close,
};
static struct miscdevice wafwdt_miscdev = {
- WATCHDOG_MINOR,
- "watchdog",
- &wafwdt_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &wafwdt_fops
};
/*
*/
static struct notifier_block wafwdt_notifier = {
- wafwdt_notify_sys,
- NULL,
- 0
+ .notifier_call = wafwdt_notify_sys,
+ .next = NULL,
+ .priority = 0
};
static int __init wafwdt_init(void)
static struct miscdevice wdt_miscdev=
{
- WATCHDOG_MINOR,
- "watchdog",
- &wdt_fops
+ .minor = WATCHDOG_MINOR,
+ .name = "watchdog",
+ .fops = &wdt_fops
};
#ifdef CONFIG_WDT_501
static struct miscdevice temp_miscdev=
{
- TEMP_MINOR,
- "temperature",
- &wdt_fops
+ .minor = TEMP_MINOR,
+ .name = "temperature",
+ .fops = &wdt_fops
};
#endif
static struct notifier_block wdt_notifier=
{
- wdt_notify_sys,
- NULL,
- 0
+ .notifier_call = wdt_notify_sys,
+ .next = NULL,
+ .priority = 0
};
/**
unsigned int cmd, unsigned long arg)
{
static struct watchdog_info ident = {
- identity : "Winbond 83977"
+ .identity = "Winbond 83977"
};
int temp;