aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/alim1535_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/alim1535_wdt.c')
-rw-r--r--drivers/watchdog/alim1535_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/alim1535_wdt.c b/drivers/watchdog/alim1535_wdt.c
index 80e323ddc4ba..dfa11d19043a 100644
--- a/drivers/watchdog/alim1535_wdt.c
+++ b/drivers/watchdog/alim1535_wdt.c
@@ -195,9 +195,6 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
195 case WDIOC_GETSTATUS: 195 case WDIOC_GETSTATUS:
196 case WDIOC_GETBOOTSTATUS: 196 case WDIOC_GETBOOTSTATUS:
197 return put_user(0, p); 197 return put_user(0, p);
198 case WDIOC_KEEPALIVE:
199 ali_keepalive();
200 return 0;
201 case WDIOC_SETOPTIONS: 198 case WDIOC_SETOPTIONS:
202 { 199 {
203 int new_options, retval = -EINVAL; 200 int new_options, retval = -EINVAL;
@@ -214,6 +211,9 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
214 } 211 }
215 return retval; 212 return retval;
216 } 213 }
214 case WDIOC_KEEPALIVE:
215 ali_keepalive();
216 return 0;
217 case WDIOC_SETTIMEOUT: 217 case WDIOC_SETTIMEOUT:
218 { 218 {
219 int new_timeout; 219 int new_timeout;