diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2009-03-18 08:18:43 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-03-25 09:06:18 +0000 |
commit | d5c26a597782d4109869abbcc36983969f964864 (patch) | |
tree | 7493f199dd18bae2bb4b1fde20f4cbd8a66e27de /drivers/watchdog/hpwdt.c | |
parent | 927d69611398f046c4447ce5ded992321c8f90ff (diff) | |
download | linux-d5c26a597782d4109869abbcc36983969f964864.tar.gz linux-d5c26a597782d4109869abbcc36983969f964864.tar.bz2 linux-d5c26a597782d4109869abbcc36983969f964864.zip |
[WATCHDOG] struct file_operations should be const
Fix following warnings:
WARNING: struct file_operations should normally be const
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
-rw-r--r-- | drivers/watchdog/hpwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index dad4fe6e20fc..7cf32ad96fd1 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -602,7 +602,7 @@ static long hpwdt_ioctl(struct file *file, unsigned int cmd, /* * Kernel interfaces */ -static struct file_operations hpwdt_fops = { +static const struct file_operations hpwdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = hpwdt_write, |