projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] struct file_operations should be const
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
watchdog
/
rc32434_wdt.c
diff --git
a/drivers/watchdog/rc32434_wdt.c
b/drivers/watchdog/rc32434_wdt.c
index 071ff7bb81d109a1c9d4e2e6166a0aea99cc95fe..f6cccc9df022cbb55b04aa5fac43fcfd6413964c 100644
(file)
--- 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,