]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/watchdog/ixp2000_wdt.c
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[linux-2.6-omap-h63xx.git] / drivers / char / watchdog / ixp2000_wdt.c
index 692908819e26651cda0aa04ad555a78a651b6a52..c91d9a660ec00c5644a6d5a0a386582209d5aecc 100644 (file)
@@ -107,7 +107,7 @@ static int
 ixp2000_wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
                        unsigned long arg)
 {
-       int ret = -ENOIOCTLCMD;
+       int ret = -ENOTTY;
        int time;
 
        switch (cmd) {