linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / watchdog / mpc8xx_wdt.c
index 35dd9e6..b2fc71e 100644 (file)
@@ -9,6 +9,7 @@
  * or implied.
  */
 
+#include <linux/config.h>
 #include <linux/fs.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
@@ -132,7 +133,7 @@ static int mpc8xx_wdt_ioctl(struct inode *inode, struct file *file,
        return 0;
 }
 
-static const struct file_operations mpc8xx_wdt_fops = {
+static struct file_operations mpc8xx_wdt_fops = {
        .owner = THIS_MODULE,
        .llseek = no_llseek,
        .write = mpc8xx_wdt_write,