diff options
Diffstat (limited to 'drivers/char/watchdog/alim1535_wdt.c')
-rw-r--r-- | drivers/char/watchdog/alim1535_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/alim1535_wdt.c b/drivers/char/watchdog/alim1535_wdt.c index 0b2c8e841c86..01b0d132ee41 100644 --- a/drivers/char/watchdog/alim1535_wdt.c +++ b/drivers/char/watchdog/alim1535_wdt.c | |||
@@ -236,7 +236,7 @@ static int ali_ioctl(struct inode *inode, struct file *file, | |||
236 | return put_user(timeout, p); | 236 | return put_user(timeout, p); |
237 | 237 | ||
238 | default: | 238 | default: |
239 | return -ENOIOCTLCMD; | 239 | return -ENOTTY; |
240 | } | 240 | } |
241 | } | 241 | } |
242 | 242 | ||