projects
/
powerpc.git
/ 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 3
[powerpc.git]
/
drivers
/
block
/
paride
/
pt.c
diff --git
a/drivers/block/paride/pt.c
b/drivers/block/paride/pt.c
index
c902b25
..
9f4e67e
100644
(file)
--- a/
drivers/block/paride/pt.c
+++ b/
drivers/block/paride/pt.c
@@
-232,7
+232,7
@@
static char pt_scratch[512]; /* scratch block buffer */
/* kernel glue structures */
-static struct file_operations pt_fops = {
+static
const
struct file_operations pt_fops = {
.owner = THIS_MODULE,
.read = pt_read,
.write = pt_write,