diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2009-03-18 09:18:43 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-03-25 10:06:18 +0100 |
commit | d5c26a597782d4109869abbcc36983969f964864 (patch) | |
tree | 7493f199dd18bae2bb4b1fde20f4cbd8a66e27de /drivers/watchdog/rc32434_wdt.c | |
parent | [WATCHDOG] cpwd.c: Coding style - Clean-up (diff) | |
download | linux-d5c26a597782d4109869abbcc36983969f964864.tar.xz 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/rc32434_wdt.c')
-rw-r--r-- | drivers/watchdog/rc32434_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c index 071ff7bb81d1..f6cccc9df022 100644 --- a/drivers/watchdog/rc32434_wdt.c +++ b/drivers/watchdog/rc32434_wdt.c @@ -247,7 +247,7 @@ static long rc32434_wdt_ioctl(struct file *file, unsigned int cmd, return 0; } -static struct file_operations rc32434_wdt_fops = { +static const struct file_operations rc32434_wdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = rc32434_wdt_write, |