linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / watchdog / ibmasr.c
index 26ceee7..294c474 100644 (file)
@@ -10,6 +10,7 @@
  * of the GNU Public License, incorporated herein by reference.
  */
 
+#include <linux/config.h>
 #include <linux/fs.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
@@ -322,7 +323,7 @@ static int asr_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-static const struct file_operations asr_fops = {
+static struct file_operations asr_fops = {
        .owner =        THIS_MODULE,
        .llseek =       no_llseek,
        .write =        asr_write,