diff options
-rw-r--r-- | drivers/watchdog/ar7_wdt.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/at91sam9_wdt.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/indydog.c | 4 | ||||
-rw-r--r-- | drivers/watchdog/it8712f_wdt.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/sb_wdog.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/sbc_epx_c3.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/scx200_wdt.c | 3 |
7 files changed, 11 insertions, 10 deletions
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c index 55dcbfe2bb72..3fe9742c23ca 100644 --- a/drivers/watchdog/ar7_wdt.c +++ b/drivers/watchdog/ar7_wdt.c | |||
@@ -246,7 +246,8 @@ static long ar7_wdt_ioctl(struct file *file, | |||
246 | static struct watchdog_info ident = { | 246 | static struct watchdog_info ident = { |
247 | .identity = LONGNAME, | 247 | .identity = LONGNAME, |
248 | .firmware_version = 1, | 248 | .firmware_version = 1, |
249 | .options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING), | 249 | .options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
250 | WDIOF_MAGICCLOSE), | ||
250 | }; | 251 | }; |
251 | int new_margin; | 252 | int new_margin; |
252 | 253 | ||
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index 435b0573fb0a..eac26021e8da 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c | |||
@@ -156,7 +156,8 @@ static int at91_wdt_settimeout(unsigned int timeout) | |||
156 | 156 | ||
157 | static const struct watchdog_info at91_wdt_info = { | 157 | static const struct watchdog_info at91_wdt_info = { |
158 | .identity = DRV_NAME, | 158 | .identity = DRV_NAME, |
159 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, | 159 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
160 | WDIOF_MAGICCLOSE, | ||
160 | }; | 161 | }; |
161 | 162 | ||
162 | /* | 163 | /* |
diff --git a/drivers/watchdog/indydog.c b/drivers/watchdog/indydog.c index 0f761db9a27c..bea8a124a559 100644 --- a/drivers/watchdog/indydog.c +++ b/drivers/watchdog/indydog.c | |||
@@ -83,7 +83,6 @@ static int indydog_open(struct inode *inode, struct file *file) | |||
83 | indydog_start(); | 83 | indydog_start(); |
84 | indydog_ping(); | 84 | indydog_ping(); |
85 | 85 | ||
86 | indydog_alive = 1; | ||
87 | printk(KERN_INFO "Started watchdog timer.\n"); | 86 | printk(KERN_INFO "Started watchdog timer.\n"); |
88 | 87 | ||
89 | return nonseekable_open(inode, file); | 88 | return nonseekable_open(inode, file); |
@@ -113,8 +112,7 @@ static long indydog_ioctl(struct file *file, unsigned int cmd, | |||
113 | { | 112 | { |
114 | int options, retval = -EINVAL; | 113 | int options, retval = -EINVAL; |
115 | static struct watchdog_info ident = { | 114 | static struct watchdog_info ident = { |
116 | .options = WDIOF_KEEPALIVEPING | | 115 | .options = WDIOF_KEEPALIVEPING, |
117 | WDIOF_MAGICCLOSE, | ||
118 | .firmware_version = 0, | 116 | .firmware_version = 0, |
119 | .identity = "Hardware Watchdog for SGI IP22", | 117 | .identity = "Hardware Watchdog for SGI IP22", |
120 | }; | 118 | }; |
diff --git a/drivers/watchdog/it8712f_wdt.c b/drivers/watchdog/it8712f_wdt.c index 2270ee07c01b..daed48ded7fe 100644 --- a/drivers/watchdog/it8712f_wdt.c +++ b/drivers/watchdog/it8712f_wdt.c | |||
@@ -239,7 +239,8 @@ static long it8712f_wdt_ioctl(struct file *file, unsigned int cmd, | |||
239 | static struct watchdog_info ident = { | 239 | static struct watchdog_info ident = { |
240 | .identity = "IT8712F Watchdog", | 240 | .identity = "IT8712F Watchdog", |
241 | .firmware_version = 1, | 241 | .firmware_version = 1, |
242 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, | 242 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
243 | WDIOF_MAGICCLOSE, | ||
243 | }; | 244 | }; |
244 | int value; | 245 | int value; |
245 | 246 | ||
diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c index bc3d68f99ddb..9748eed73196 100644 --- a/drivers/watchdog/sb_wdog.c +++ b/drivers/watchdog/sb_wdog.c | |||
@@ -93,7 +93,7 @@ static int expect_close; | |||
93 | 93 | ||
94 | static const struct watchdog_info ident = { | 94 | static const struct watchdog_info ident = { |
95 | .options = WDIOF_CARDRESET | WDIOF_SETTIMEOUT | | 95 | .options = WDIOF_CARDRESET | WDIOF_SETTIMEOUT | |
96 | WDIOF_KEEPALIVEPING, | 96 | WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE, |
97 | .identity = "SiByte Watchdog", | 97 | .identity = "SiByte Watchdog", |
98 | }; | 98 | }; |
99 | 99 | ||
diff --git a/drivers/watchdog/sbc_epx_c3.c b/drivers/watchdog/sbc_epx_c3.c index af118a142e95..28f1214457bd 100644 --- a/drivers/watchdog/sbc_epx_c3.c +++ b/drivers/watchdog/sbc_epx_c3.c | |||
@@ -107,8 +107,7 @@ static long epx_c3_ioctl(struct file *file, unsigned int cmd, | |||
107 | int options, retval = -EINVAL; | 107 | int options, retval = -EINVAL; |
108 | int __user *argp = (void __user *)arg; | 108 | int __user *argp = (void __user *)arg; |
109 | static const struct watchdog_info ident = { | 109 | static const struct watchdog_info ident = { |
110 | .options = WDIOF_KEEPALIVEPING | | 110 | .options = WDIOF_KEEPALIVEPING, |
111 | WDIOF_MAGICCLOSE, | ||
112 | .firmware_version = 0, | 111 | .firmware_version = 0, |
113 | .identity = "Winsystems EPX-C3 H/W Watchdog", | 112 | .identity = "Winsystems EPX-C3 H/W Watchdog", |
114 | }; | 113 | }; |
diff --git a/drivers/watchdog/scx200_wdt.c b/drivers/watchdog/scx200_wdt.c index ea93692a110a..e67b76c0526c 100644 --- a/drivers/watchdog/scx200_wdt.c +++ b/drivers/watchdog/scx200_wdt.c | |||
@@ -165,7 +165,8 @@ static long scx200_wdt_ioctl(struct file *file, unsigned int cmd, | |||
165 | static const struct watchdog_info ident = { | 165 | static const struct watchdog_info ident = { |
166 | .identity = "NatSemi SCx200 Watchdog", | 166 | .identity = "NatSemi SCx200 Watchdog", |
167 | .firmware_version = 1, | 167 | .firmware_version = 1, |
168 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, | 168 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
169 | WDIOF_MAGICCLOSE, | ||
169 | }; | 170 | }; |
170 | int new_margin; | 171 | int new_margin; |
171 | 172 | ||