git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mark struct file_operations const 7
[safe/jmp/linux-2.6]
/
net
/
irda
/
discovery.c
diff --git
a/net/irda/discovery.c
b/net/irda/discovery.c
index
789478b
..
f097341
100644
(file)
--- a/
net/irda/discovery.c
+++ b/
net/irda/discovery.c
@@
-409,7
+409,7
@@
static int discovery_seq_open(struct inode *inode, struct file *file)
return seq_open(file, &discovery_seq_ops);
}
-struct file_operations discovery_seq_fops = {
+
const
struct file_operations discovery_seq_fops = {
.owner = THIS_MODULE,
.open = discovery_seq_open,
.read = seq_read,