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
/
misc
/
phantom.c
diff --git
a/drivers/misc/phantom.c
b/drivers/misc/phantom.c
index
fa57b67
..
90a95ce
100644
(file)
--- a/
drivers/misc/phantom.c
+++ b/
drivers/misc/phantom.c
@@
-271,7
+271,7
@@
static unsigned int phantom_poll(struct file *file, poll_table *wait)
return mask;
}
-static struct file_operations phantom_file_ops = {
+static
const
struct file_operations phantom_file_ops = {
.open = phantom_open,
.release = phantom_release,
.unlocked_ioctl = phantom_ioctl,