diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 20:48:10 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-01-25 20:41:30 +0000 |
commit | b47a166ed0baaaa30112532bad41b21e7c5e4d31 (patch) | |
tree | 21dd81db7259f3090758cfaeb05cc8234974c398 /drivers/watchdog/mtx-1_wdt.c | |
parent | 6f702fce387e16e16d7930b5c9927d5e71d36ece (diff) | |
download | linux-b47a166ed0baaaa30112532bad41b21e7c5e4d31.tar.bz2 |
[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/mtx-1_wdt.c')
-rw-r--r-- | drivers/watchdog/mtx-1_wdt.c | 2 |
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, return count; } -static struct file_operations mtx1_wdt_fops = { +static const struct file_operations mtx1_wdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .ioctl = mtx1_wdt_ioctl, |