[WATCHDOG] sc1200wdt.c pnp unregister fix.
[powerpc.git] / drivers / char / watchdog / ibmasr.c
index 26ceee7..dd6760f 100644 (file)
@@ -295,7 +295,7 @@ static int asr_ioctl(struct inode *inode, struct file *file,
                }
        }
 
-       return -ENOIOCTLCMD;
+       return -ENOTTY;
 }
 
 static int asr_open(struct inode *inode, struct file *file)