]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/pcwd.c
[WATCHDOG] watchdog_info constify
[mv-sheeva.git] / drivers / watchdog / pcwd.c
index aa9512321f3a624abd4d39d7df84ba4ac108cb18..06f7922606c0cac89722d6ba53a2dc1ecc39a125 100644 (file)
@@ -606,7 +606,7 @@ static long pcwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
        int temperature;
        int new_heartbeat;
        int __user *argp = (int __user *)arg;
-       static struct watchdog_info ident = {
+       static const struct watchdog_info ident = {
                .options =              WDIOF_OVERHEAT |
                                        WDIOF_CARDRESET |
                                        WDIOF_KEEPALIVEPING |