diff options
Diffstat (limited to 'drivers/watchdog/ep93xx_wdt.c')
-rw-r--r-- | drivers/watchdog/ep93xx_wdt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c index cdcdd11173a7..07b74a768922 100644 --- a/drivers/watchdog/ep93xx_wdt.c +++ b/drivers/watchdog/ep93xx_wdt.c | |||
@@ -155,15 +155,15 @@ static long ep93xx_wdt_ioctl(struct file *file, | |||
155 | ret = put_user(boot_status, (int __user *)arg); | 155 | ret = put_user(boot_status, (int __user *)arg); |
156 | break; | 156 | break; |
157 | 157 | ||
158 | case WDIOC_GETTIMEOUT: | ||
159 | /* actually, it is 0.250 seconds.... */ | ||
160 | ret = put_user(1, (int __user *)arg); | ||
161 | break; | ||
162 | |||
163 | case WDIOC_KEEPALIVE: | 158 | case WDIOC_KEEPALIVE: |
164 | wdt_keepalive(); | 159 | wdt_keepalive(); |
165 | ret = 0; | 160 | ret = 0; |
166 | break; | 161 | break; |
162 | |||
163 | case WDIOC_GETTIMEOUT: | ||
164 | /* actually, it is 0.250 seconds.... */ | ||
165 | ret = put_user(1, (int __user *)arg); | ||
166 | break; | ||
167 | } | 167 | } |
168 | return ret; | 168 | return ret; |
169 | } | 169 | } |