diff options
Diffstat (limited to 'drivers/watchdog/wdt285.c')
-rw-r--r-- | drivers/watchdog/wdt285.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/watchdog/wdt285.c b/drivers/watchdog/wdt285.c index 7355ddd0b207..ebbb183be618 100644 --- a/drivers/watchdog/wdt285.c +++ b/drivers/watchdog/wdt285.c | |||
@@ -139,9 +139,8 @@ static const struct watchdog_info ident = { | |||
139 | static long watchdog_ioctl(struct file *file, unsigned int cmd, | 139 | static long watchdog_ioctl(struct file *file, unsigned int cmd, |
140 | unsigned long arg) | 140 | unsigned long arg) |
141 | { | 141 | { |
142 | unsigned int new_margin; | ||
143 | int __user *int_arg = (int __user *)arg; | 142 | int __user *int_arg = (int __user *)arg; |
144 | int ret = -ENOTTY; | 143 | int new_margin, ret = -ENOTTY; |
145 | 144 | ||
146 | switch (cmd) { | 145 | switch (cmd) { |
147 | case WDIOC_GETSUPPORT: | 146 | case WDIOC_GETSUPPORT: |