]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/mpc5200_wdt.c
edac: core fix to use dynamic kobject
[linux-2.6-omap-h63xx.git] / drivers / watchdog / mpc5200_wdt.c
index 11f6a111e75b750dc6716bb19ba2aedb4cdc98aa..77c1c2ae2cc2499f91928c6b3d69ddf34663f71b 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/watchdog.h>
 #include <linux/io.h>
 #include <linux/spinlock.h>
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #include <asm/uaccess.h>
 #include <asm/mpc52xx.h>
 
@@ -158,7 +158,7 @@ static int mpc5200_wdt_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-static struct file_operations mpc5200_wdt_fops = {
+static const struct file_operations mpc5200_wdt_fops = {
        .owner  = THIS_MODULE,
        .write  = mpc5200_wdt_write,
        .ioctl  = mpc5200_wdt_ioctl,