]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/alim7101_wdt.c
sh: fix a number of Oopses and leaks in SH framebuffer driver
[mv-sheeva.git] / drivers / watchdog / alim7101_wdt.c
index f90afdb1b255964c6c65495e2c3947eb405f5573..d8d4da9a483d07e1968b4710934467b8ebc91347 100644 (file)
@@ -238,7 +238,7 @@ static long fop_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,
                .firmware_version = 1,