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
/
sc520_wdt.c
diff --git
a/drivers/char/watchdog/sc520_wdt.c
b/drivers/char/watchdog/sc520_wdt.c
index 4ee9974ad8cbaec08ada8758d120c8bb32fdbc48..2c7c9db71be81e9eb5318cebe94d7fd215ecd8c3 100644
(file)
--- a/
drivers/char/watchdog/sc520_wdt.c
+++ b/
drivers/char/watchdog/sc520_wdt.c
@@
-336,7
+336,7
@@
static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
}
-static struct file_operations wdt_fops = {
+static
const
struct file_operations wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = fop_write,