diff options
author | Al Viro | 2013-04-05 01:09:41 +0200 |
---|---|---|
committer | Al Viro | 2013-04-09 20:16:20 +0200 |
commit | 75ef9de1267ba171ecefafca35758e2be0db10dc (patch) | |
tree | 597b9e9680535d3ac6c4c50c065090560414a070 /drivers/scsi/qla2xxx/qla_os.c | |
parent | bluetooth: kill unused fops field in struct bt_sock_list (diff) | |
download | kernel-qcow2-linux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.gz kernel-qcow2-linux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.xz kernel-qcow2-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/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 2c6dd3dfe0f4..ccb5e6404d09 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, }; |