[alim7101] Add pci dev table for auto module loading.
[powerpc.git] / drivers / char / watchdog / mixcomwd.c
index 433c27f..c2dac0a 100644 (file)
@@ -185,12 +185,12 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file,
                        mixcomwd_ping();
                        break;
                default:
-                       return -ENOIOCTLCMD;
+                       return -ENOTTY;
        }
        return 0;
 }
 
-static struct file_operations mixcomwd_fops=
+static const struct file_operations mixcomwd_fops=
 {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,