i40iw: constify i40iw_vf_cqp_ops structure
commit2016de7ba013462d56fb344a5a8ed93f7a4c460a
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 1 May 2016 12:22:21 +0000 (1 14:22 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:39:33 +0000 (13 19:39 -0400)
tree34452e2a2d62de14fcd173b50165963c9268fe1e
parent321aebb880d2bfdf9cff503f57207e930aee6b1d
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