summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-04 23:09:41 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 18:16:20 (GMT)
commit75ef9de1267ba171ecefafca35758e2be0db10dc (patch)
tree597b9e9680535d3ac6c4c50c065090560414a070 /drivers/scsi/qla2xxx
parentc10c062cadf527c3e072f01280d266fbbc592f9d (diff)
downloadlinux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.xz
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 2c6dd3d..ccb5e64 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -5351,7 +5351,7 @@ static struct pci_driver qla2xxx_pci_driver = {
.err_handler = &qla2xxx_err_handler,
};
-static struct file_operations apidev_fops = {
+static const struct file_operations apidev_fops = {
.owner = THIS_MODULE,
.llseek = noop_llseek,
};