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 2
[powerpc.git]
/
arch
/
cris
/
arch-v10
/
drivers
/
i2c.c
diff --git
a/arch/cris/arch-v10/drivers/i2c.c
b/arch/cris/arch-v10/drivers/i2c.c
index
092c724
..
aca81dd
100644
(file)
--- a/
arch/cris/arch-v10/drivers/i2c.c
+++ b/
arch/cris/arch-v10/drivers/i2c.c
@@
-692,7
+692,7
@@
i2c_ioctl(struct inode *inode, struct file *file,
return 0;
}
-static struct file_operations i2c_fops = {
+static
const
struct file_operations i2c_fops = {
.owner = THIS_MODULE,
.ioctl = i2c_ioctl,
.open = i2c_open,