aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/ar7_wdt.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-22 14:48:10 -0500
committerWim Van Sebroeck <wim@iguana.be>2008-01-25 15:41:30 -0500
commitb47a166ed0baaaa30112532bad41b21e7c5e4d31 (patch)
tree21dd81db7259f3090758cfaeb05cc8234974c398 /drivers/watchdog/ar7_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/ar7_wdt.c')
-rw-r--r--drivers/watchdog/ar7_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
index cdaab8c3d3d0..2eb48c0df32c 100644
--- a/drivers/watchdog/ar7_wdt.c
+++ b/drivers/watchdog/ar7_wdt.c
@@ -279,7 +279,7 @@ static int ar7_wdt_ioctl(struct inode *inode, struct file *file,
279 } 279 }
280} 280}
281 281
282static struct file_operations ar7_wdt_fops = { 282static const struct file_operations ar7_wdt_fops = {
283 .owner = THIS_MODULE, 283 .owner = THIS_MODULE,
284 .write = ar7_wdt_write, 284 .write = ar7_wdt_write,
285 .ioctl = ar7_wdt_ioctl, 285 .ioctl = ar7_wdt_ioctl,