diff options
Diffstat (limited to 'drivers/char/watchdog/pcwd.c')
-rw-r--r-- | drivers/char/watchdog/pcwd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c index cd7d1b6a5d9f..8e1e6e48e0a7 100644 --- a/drivers/char/watchdog/pcwd.c +++ b/drivers/char/watchdog/pcwd.c | |||
@@ -49,7 +49,6 @@ | |||
49 | * More info available at http://www.berkprod.com/ or http://www.pcwatchdog.com/ | 49 | * More info available at http://www.berkprod.com/ or http://www.pcwatchdog.com/ |
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <linux/config.h> /* For CONFIG_WATCHDOG_NOWAYOUT/... */ | ||
53 | #include <linux/module.h> /* For module specific items */ | 52 | #include <linux/module.h> /* For module specific items */ |
54 | #include <linux/moduleparam.h> /* For new moduleparam's */ | 53 | #include <linux/moduleparam.h> /* For new moduleparam's */ |
55 | #include <linux/types.h> /* For standard types (like size_t) */ | 54 | #include <linux/types.h> /* For standard types (like size_t) */ |
@@ -572,7 +571,7 @@ static int pcwd_ioctl(struct inode *inode, struct file *file, | |||
572 | 571 | ||
573 | switch(cmd) { | 572 | switch(cmd) { |
574 | default: | 573 | default: |
575 | return -ENOIOCTLCMD; | 574 | return -ENOTTY; |
576 | 575 | ||
577 | case WDIOC_GETSUPPORT: | 576 | case WDIOC_GETSUPPORT: |
578 | if(copy_to_user(argp, &ident, sizeof(ident))) | 577 | if(copy_to_user(argp, &ident, sizeof(ident))) |