summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/it8712f_wdt.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-22 20:48:10 +0100
committerWim Van Sebroeck <wim@iguana.be>2008-01-25 20:41:30 +0000
commitb47a166ed0baaaa30112532bad41b21e7c5e4d31 (patch)
tree21dd81db7259f3090758cfaeb05cc8234974c398 /drivers/watchdog/it8712f_wdt.c
parent6f702fce387e16e16d7930b5c9927d5e71d36ece (diff)
[WATCHDOG] constify function pointer tables
"static struct file_operations" should be "static const struct file_operations". Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
-rw-r--r--drivers/watchdog/it8712f_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/it8712f_wdt.c b/drivers/watchdog/it8712f_wdt.c
index 6330fc02464..1b6d7d1b715 100644
--- a/drivers/watchdog/it8712f_wdt.c
+++ b/drivers/watchdog/it8712f_wdt.c
@@ -296,7 +296,7 @@ it8712f_wdt_release(struct inode *inode, struct file *file)
return 0;
}
-static struct file_operations it8712f_wdt_fops = {
+static const struct file_operations it8712f_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = it8712f_wdt_write,