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
const: constify remaining file_operations
[safe/jmp/linux-2.6]
/
drivers
/
usb
/
misc
/
rio500.c
diff --git
a/drivers/usb/misc/rio500.c
b/drivers/usb/misc/rio500.c
index
d645f38
..
32d0199
100644
(file)
--- a/
drivers/usb/misc/rio500.c
+++ b/
drivers/usb/misc/rio500.c
@@
-429,8
+429,7
@@
read_rio(struct file *file, char __user *buffer, size_t count, loff_t * ppos)
return read_count;
}
-static struct
-file_operations usb_rio_fops = {
+static const struct file_operations usb_rio_fops = {
.owner = THIS_MODULE,
.read = read_rio,
.write = write_rio,