aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/mtx-1_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/mtx-1_wdt.c')
-rw-r--r--drivers/watchdog/mtx-1_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index dcfd401a7ad7..98451747d3cd 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -180,7 +180,7 @@ static ssize_t mtx1_wdt_write(struct file *file, const char *buf, size_t count,
180 return count; 180 return count;
181} 181}
182 182
183static struct file_operations mtx1_wdt_fops = { 183static const struct file_operations mtx1_wdt_fops = {
184 .owner = THIS_MODULE, 184 .owner = THIS_MODULE,
185 .llseek = no_llseek, 185 .llseek = no_llseek,
186 .ioctl = mtx1_wdt_ioctl, 186 .ioctl = mtx1_wdt_ioctl,