summaryrefslogtreecommitdiff
path: root/drivers/watchdog/bfin_wdt.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-22 22:48:10 +0300
committerWim Van Sebroeck <wim@iguana.be>2008-01-25 23:41:30 +0300
commitb47a166ed0baaaa30112532bad41b21e7c5e4d31 (patch)
tree21dd81db7259f3090758cfaeb05cc8234974c398 /drivers/watchdog/bfin_wdt.c
parent6f702fce387e16e16d7930b5c9927d5e71d36ece (diff)
downloadlinux-b47a166ed0baaaa30112532bad41b21e7c5e4d31.tar.xz
[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/bfin_wdt.c')
-rw-r--r--drivers/watchdog/bfin_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
index 31dc7a69e90c..472be10f0686 100644
--- a/drivers/watchdog/bfin_wdt.c
+++ b/drivers/watchdog/bfin_wdt.c
@@ -390,7 +390,7 @@ static struct platform_driver bfin_wdt_driver = {
.resume = bfin_wdt_resume,
};
-static struct file_operations bfin_wdt_fops = {
+static const struct file_operations bfin_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = bfin_wdt_write,