]> git.hungrycats.org Git - linux/commitdiff
[WATCHDOG] w83877f nowayout fixes from 2.4
authorDave Jones <davej@codemonkey.org.uk>
Fri, 10 Jan 2003 02:38:59 +0000 (01:38 -0100)
committerDave Jones <davej@tetrachloride.(none)>
Fri, 10 Jan 2003 02:38:59 +0000 (01:38 -0100)
drivers/char/watchdog/w83877f_wdt.c

index 66749672d39c8dd85b2cc38817bdb7400f9d64f7..152c5cf41311c086852b6cd6619b12e09ff7471d 100644 (file)
@@ -251,9 +251,9 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
 {
        static struct watchdog_info ident=
        {
-               0,
-               1,
-               "W83877F"
+               .options = WDIOF_MAGICCLOSE,
+               .firmware_version = 1,
+               .identity = "W83877F"
        };
        
        switch(cmd)