]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/char/watchdog/indydog.c
watchdog: Add a simple mmap() stub for shwdt.
[mv-sheeva.git] / drivers / char / watchdog / indydog.c
index b4b94daba67ea55e916173bf1738e422b2eec5d4..dacc1c20a310747aa322f9661047d82d47e1c7ab 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/fs.h>
@@ -155,7 +154,7 @@ static int indydog_notify_sys(struct notifier_block *this, unsigned long code, v
        return NOTIFY_DONE;
 }
 
-static struct file_operations indydog_fops = {
+static const struct file_operations indydog_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .write          = indydog_write,