]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/watchdog/mpc8xxx_wdt.c
[WATCHDOG] watchdog_info constify
[mirror_ubuntu-bionic-kernel.git] / drivers / watchdog / mpc8xxx_wdt.c
index 38c588ee694f8c0333b4c7e4df5f2b3832875806..4e3941c5e29330e1685f63105e962ab1745fc33e 100644 (file)
@@ -148,7 +148,7 @@ static long mpc8xxx_wdt_ioctl(struct file *file, unsigned int cmd,
 {
        void __user *argp = (void __user *)arg;
        int __user *p = argp;
-       static struct watchdog_info ident = {
+       static const struct watchdog_info ident = {
                .options = WDIOF_KEEPALIVEPING,
                .firmware_version = 1,
                .identity = "MPC8xxx",