]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/watchdog/pnx833x_wdt.c
[WATCHDOG] watchdog_info constify
[karo-tx-linux.git] / drivers / watchdog / pnx833x_wdt.c
index 538ec2c05197c8194312fa11c47a51321edf2b2d..09102f09e681607189cd385c63f25bf65b3df286 100644 (file)
@@ -141,7 +141,7 @@ static long pnx833x_wdt_ioctl(struct file *file, unsigned int cmd,
        int options, new_timeout = 0;
        uint32_t timeout, timeout_left = 0;
 
-       static struct watchdog_info ident = {
+       static const struct watchdog_info ident = {
                .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT,
                .firmware_version = 0,
                .identity = "Hardware Watchdog for PNX833x",