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
/
tb0219.c
diff --git
a/drivers/char/tb0219.c
b/drivers/char/tb0219.c
index a80c83210872b544551573f214e5e9223c3921c6..bb1bad4c18f9e5718e56d014ecff7ebbe235c1fe 100644
(file)
--- a/
drivers/char/tb0219.c
+++ b/
drivers/char/tb0219.c
@@
-255,7
+255,7
@@
static int tanbac_tb0219_release(struct inode *inode, struct file *file)
return 0;
}
-static struct file_operations tb0219_fops = {
+static
const
struct file_operations tb0219_fops = {
.owner = THIS_MODULE,
.read = tanbac_tb0219_read,
.write = tanbac_tb0219_write,