[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[deliverable/linux.git] / drivers / char / watchdog / s3c2410_wdt.c
index a49f1f2ffa22a17003ac9055498efd257e26f909..b36a04ae9ab8e96306a35ce07680aed56bae40d2 100644 (file)
@@ -288,7 +288,7 @@ static int s3c2410wdt_ioctl(struct inode *inode, struct file *file,
 
        switch (cmd) {
                default:
-                       return -ENOIOCTLCMD;
+                       return -ENOTTY;
 
                case WDIOC_GETSUPPORT:
                        return copy_to_user(argp, &s3c2410_wdt_ident,
This page took 0.025659 seconds and 5 git commands to generate.