watchdog: twl4030_wdt: Disable watchdog during probing
[safe/jmp/linux-2.6] / drivers / watchdog / alim1535_wdt.c
index 937a80f..1e9caea 100644 (file)
@@ -180,7 +180,7 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
        void __user *argp = (void __user *)arg;
        int __user *p = argp;
-       static struct watchdog_info ident = {
+       static const struct watchdog_info ident = {
                .options =              WDIOF_KEEPALIVEPING |
                                        WDIOF_SETTIMEOUT |
                                        WDIOF_MAGICCLOSE,