projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] make more file_operation structs static
[linux-2.6-block.git]
/
drivers
/
char
/
watchdog
/
wdt285.c
diff --git
a/drivers/char/watchdog/wdt285.c
b/drivers/char/watchdog/wdt285.c
index 52825a1f1779b7a2292f6265f7c0359286477f5e..6555fb844f2342113a91ca7cec265403e25f628a 100644
(file)
--- a/
drivers/char/watchdog/wdt285.c
+++ b/
drivers/char/watchdog/wdt285.c
@@
-178,7
+178,7
@@
watchdog_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
return ret;
}
-static struct file_operations watchdog_fops = {
+static
const
struct file_operations watchdog_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = watchdog_write,