[WATCHDOG] Correct WDIOF_MAGICCLOSE flag
[sfrench/cifs-2.6.git] / drivers / watchdog / it8712f_wdt.c
index 2270ee07c01b7222d15bd107f08af04505e4c06b..daed48ded7fe9aa13adf49b18a4ead3e2b391d60 100644 (file)
@@ -239,7 +239,8 @@ static long it8712f_wdt_ioctl(struct file *file, unsigned int cmd,
        static struct watchdog_info ident = {
                .identity = "IT8712F Watchdog",
                .firmware_version = 1,
        static struct watchdog_info ident = {
                .identity = "IT8712F Watchdog",
                .firmware_version = 1,
-               .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING,
+               .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING |
+                                               WDIOF_MAGICCLOSE,
        };
        int value;
 
        };
        int value;