]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/char/watchdog/ibmasr.c
watchdog: Add a simple mmap() stub for shwdt.
[mv-sheeva.git] / drivers / char / watchdog / ibmasr.c
index 294c474ae485764eb9416a2c9c9cd5d56b773065..26ceee7a4df0922bd370560a4023d1bfa1892267 100644 (file)
@@ -10,7 +10,6 @@
  * 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>
@@ -323,7 +322,7 @@ static int asr_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-static struct file_operations asr_fops = {
+static const struct file_operations asr_fops = {
        .owner =        THIS_MODULE,
        .llseek =       no_llseek,
        .write =        asr_write,