aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/watchdog/hpwdt.c2
-rw-r--r--drivers/watchdog/rc32434_wdt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index dad4fe6e20fc..7cf32ad96fd1 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -602,7 +602,7 @@ static long hpwdt_ioctl(struct file *file, unsigned int cmd,
602/* 602/*
603 * Kernel interfaces 603 * Kernel interfaces
604 */ 604 */
605static struct file_operations hpwdt_fops = { 605static const struct file_operations hpwdt_fops = {
606 .owner = THIS_MODULE, 606 .owner = THIS_MODULE,
607 .llseek = no_llseek, 607 .llseek = no_llseek,
608 .write = hpwdt_write, 608 .write = hpwdt_write,
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c
index 071ff7bb81d1..f6cccc9df022 100644
--- a/drivers/watchdog/rc32434_wdt.c
+++ b/drivers/watchdog/rc32434_wdt.c
@@ -247,7 +247,7 @@ static long rc32434_wdt_ioctl(struct file *file, unsigned int cmd,
247 return 0; 247 return 0;
248} 248}
249 249
250static struct file_operations rc32434_wdt_fops = { 250static const struct file_operations rc32434_wdt_fops = {
251 .owner = THIS_MODULE, 251 .owner = THIS_MODULE,
252 .llseek = no_llseek, 252 .llseek = no_llseek,
253 .write = rc32434_wdt_write, 253 .write = rc32434_wdt_write,