summaryrefslogtreecommitdiffstats
path: root/drivers/staging/silicom
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-04 19:09:41 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 14:16:20 -0400
commit75ef9de1267ba171ecefafca35758e2be0db10dc (patch)
tree597b9e9680535d3ac6c4c50c065090560414a070 /drivers/staging/silicom
parentc10c062cadf527c3e072f01280d266fbbc592f9d (diff)
downloadlinux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.gz
linux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.bz2
linux-75ef9de1267ba171ecefafca35758e2be0db10dc.zip
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/silicom')
-rw-r--r--drivers/staging/silicom/bpctl_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c
index e2da0fb3f98e..2cfa800e248c 100644
--- a/drivers/staging/silicom/bpctl_mod.c
+++ b/drivers/staging/silicom/bpctl_mod.c
@@ -5803,7 +5803,7 @@ static long device_ioctl(struct file *file, /* see include/linux/fs.h */
return ret;
}
-struct file_operations Fops = {
+static const struct file_operations Fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = device_ioctl,
.open = device_open,