linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / watchdog / scx200_wdt.c
index c561299..b4a102a 100644 (file)
@@ -17,6 +17,7 @@
    of any nature resulting due to the use of this software. This
    software is provided AS-IS with no warranties. */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/init.h>
@@ -194,7 +195,7 @@ static int scx200_wdt_ioctl(struct inode *inode, struct file *file,
        }
 }
 
-static const struct file_operations scx200_wdt_fops = {
+static struct file_operations scx200_wdt_fops = {
        .owner   = THIS_MODULE,
        .llseek  = no_llseek,
        .write   = scx200_wdt_write,