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
/
pcwd.c
diff --git
a/drivers/char/watchdog/pcwd.c
b/drivers/char/watchdog/pcwd.c
index 6d44ca68312dff82e3ef867a94feedce5e148752..cd7d1b6a5d9fb2dd97aeae7783327f74163d8830 100644
(file)
--- a/
drivers/char/watchdog/pcwd.c
+++ b/
drivers/char/watchdog/pcwd.c
@@
-740,7
+740,7
@@
static int pcwd_notify_sys(struct notifier_block *this, unsigned long code, void
* Kernel Interfaces
*/
* Kernel Interfaces
*/
-static struct file_operations pcwd_fops = {
+static
const
struct file_operations pcwd_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = pcwd_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = pcwd_write,
@@
-755,7
+755,7
@@
static struct miscdevice pcwd_miscdev = {
.fops = &pcwd_fops,
};
.fops = &pcwd_fops,
};
-static struct file_operations pcwd_temp_fops = {
+static
const
struct file_operations pcwd_temp_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = pcwd_temp_read,
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = pcwd_temp_read,
This page took
0.025862 seconds
and
5
git commands to generate.