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 4
[safe/jmp/linux-2.6]
/
drivers
/
media
/
video
/
zoran_procfs.c
diff --git
a/drivers/media/video/zoran_procfs.c
b/drivers/media/video/zoran_procfs.c
index
c374c76
..
446ae8d
100644
(file)
--- a/
drivers/media/video/zoran_procfs.c
+++ b/
drivers/media/video/zoran_procfs.c
@@
-186,7
+186,7
@@
static ssize_t zoran_write(struct file *file, const char __user *buffer,
return count;
}
-static struct file_operations zoran_operations = {
+static
const
struct file_operations zoran_operations = {
.open = zoran_open,
.read = seq_read,
.write = zoran_write,