i40iw: constify i40iw_vf_cqp_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 1 May 2016 12:22:21 +0000 (14:22 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 17:47:07 +0000 (13:47 -0400)
commitdc1badf63026550ce8d099c3a4d1c803d23b038f
tree70615dc79579e14620c13f5ca4dec358d879d5a1
parenta647040ea85ae0bf5bd93f2a1b42dba57b0d0059
i40iw: constify i40iw_vf_cqp_ops structure

The i40iw_vf_cqp_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_type.h
drivers/infiniband/hw/i40iw/i40iw_vf.c
drivers/infiniband/hw/i40iw/i40iw_vf.h