mei: wd: add option WDIOF_SETTIMEOUT
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 16 Aug 2012 16:39:41 +0000 (19:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 16:51:02 +0000 (09:51 -0700)
According watchdog-kernel-api.txt WDIOF_SETTIMEOUT
should be set if the driver supplies set_timeout function

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/wd.c

index 3006cca34b16518a909ff316ba6213acebc09b36..94f2c0a12d949747304eb0bde187332d6a2fcb78 100644 (file)
@@ -341,7 +341,9 @@ static const struct watchdog_ops wd_ops = {
 };
 static const struct watchdog_info wd_info = {
                .identity = INTEL_AMT_WATCHDOG_ID,
-               .options = WDIOF_KEEPALIVEPING | WDIOF_ALARMONLY,
+               .options = WDIOF_KEEPALIVEPING |
+                          WDIOF_SETTIMEOUT |
+                          WDIOF_ALARMONLY,
 };
 
 static struct watchdog_device amt_wd_dev = {