diff options
Diffstat (limited to 'drivers/char/watchdog/sc520_wdt.c')
-rw-r--r-- | drivers/char/watchdog/sc520_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/sc520_wdt.c b/drivers/char/watchdog/sc520_wdt.c index 2c7c9db71be8..caec37ba750a 100644 --- a/drivers/char/watchdog/sc520_wdt.c +++ b/drivers/char/watchdog/sc520_wdt.c | |||
@@ -290,7 +290,7 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
290 | switch(cmd) | 290 | switch(cmd) |
291 | { | 291 | { |
292 | default: | 292 | default: |
293 | return -ENOIOCTLCMD; | 293 | return -ENOTTY; |
294 | case WDIOC_GETSUPPORT: | 294 | case WDIOC_GETSUPPORT: |
295 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; | 295 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; |
296 | case WDIOC_GETSTATUS: | 296 | case WDIOC_GETSTATUS: |