]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/watchdog/i6300esb.c
[WATCHDOG] watchdog_info constify
[mirror_ubuntu-zesty-kernel.git] / drivers / watchdog / i6300esb.c
index 7ba0b11ec525d2bd84f4ebfe72b4e0e5912ff2b4..2fbe7fea7ee6bd9aaad78829732252f98b070e73 100644 (file)
@@ -256,7 +256,7 @@ static long esb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
        int new_heartbeat;
        void __user *argp = (void __user *)arg;
        int __user *p = argp;
-       static struct watchdog_info ident = {
+       static const struct watchdog_info ident = {
                .options =              WDIOF_SETTIMEOUT |
                                        WDIOF_KEEPALIVEPING |
                                        WDIOF_MAGICCLOSE,