]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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 23:40:26 +0000 (19:40 -0400)
commitfb997816fdf3475fd9bd9a76b6b77aba03864835
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