projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
drivers
/
char
/
watchdog
/
wdrtas.c
diff --git
a/drivers/char/watchdog/wdrtas.c
b/drivers/char/watchdog/wdrtas.c
index 3a462c34b92a5000ca6d994e03c5210d73f9bb5f..5c38cdf41731201b7f37506e79cbadf6cfcd3438 100644
(file)
--- a/
drivers/char/watchdog/wdrtas.c
+++ b/
drivers/char/watchdog/wdrtas.c
@@
-520,7
+520,7
@@
wdrtas_reboot(struct notifier_block *this, unsigned long code, void *ptr)
/*** initialization stuff */
/*** initialization stuff */
-static struct file_operations wdrtas_fops = {
+static
const
struct file_operations wdrtas_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = wdrtas_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = wdrtas_write,
@@
-535,7
+535,7
@@
static struct miscdevice wdrtas_miscdev = {
.fops = &wdrtas_fops,
};
.fops = &wdrtas_fops,
};
-static struct file_operations wdrtas_temp_fops = {
+static
const
struct file_operations wdrtas_temp_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = wdrtas_temp_read,
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = wdrtas_temp_read,
This page took
0.02826 seconds
and
5
git commands to generate.