[WATCHDOG] sc1200wdt.c pnp unregister fix.
[powerpc.git] / drivers / char / watchdog / eurotechwdt.c
index 62dbccb..4f42697 100644 (file)
@@ -240,7 +240,7 @@ static int eurwdt_ioctl(struct inode *inode, struct file *file,
 
        switch(cmd) {
        default:
-               return -ENOIOCTLCMD;
+               return -ENOTTY;
 
        case WDIOC_GETSUPPORT:
                return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0;