projects
/
linux-2.6-microblaze.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-microblaze.git]
/
drivers
/
char
/
nwbutton.c
diff --git
a/drivers/char/nwbutton.c
b/drivers/char/nwbutton.c
index
f240a10
..
7c57ebf
100644
(file)
--- a/
drivers/char/nwbutton.c
+++ b/
drivers/char/nwbutton.c
@@
-183,7
+183,7
@@
static int button_read (struct file *filp, char __user *buffer,
* attempts to perform these operations on the device.
*/
-static struct file_operations button_fops = {
+static
const
struct file_operations button_fops = {
.owner = THIS_MODULE,
.read = button_read,
};