[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>
This commit is contained in:
Jan Engelhardt
2008-01-22 20:48:10 +01:00
committed by Wim Van Sebroeck
parent 6f702fce38
commit b47a166ed0
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ static int ar7_wdt_ioctl(struct inode *inode, struct file *file,
}
}
static struct file_operations ar7_wdt_fops = {
static const struct file_operations ar7_wdt_fops = {
.owner = THIS_MODULE,
.write = ar7_wdt_write,
.ioctl = ar7_wdt_ioctl,