]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/char/watchdog/sc1200wdt.c
watchdog: Add a simple mmap() stub for shwdt.
[mv-sheeva.git] / drivers / char / watchdog / sc1200wdt.c
index 20b88f9b7be20d9081c58a72e217a89a394661f2..7c3cf293a5afc3684111c95bce7ad52653a4cb74 100644 (file)
@@ -27,7 +27,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/miscdevice.h>
@@ -293,7 +292,7 @@ static struct notifier_block sc1200wdt_notifier =
        .notifier_call =        sc1200wdt_notify_sys,
 };
 
-static struct file_operations sc1200wdt_fops =
+static const struct file_operations sc1200wdt_fops =
 {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,