i40e: constify i40e_client_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 1 May 2016 12:07:23 +0000 (14:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 17:47:07 +0000 (13:47 -0400)
commita647040ea85ae0bf5bd93f2a1b42dba57b0d0059
treecbdb38ec8d39ad33a36e69420f69927192af8e23
parentc222a39f0d2652ff32e10a95979af9bf906b9844
i40e: constify i40e_client_ops structure

The i40e_client_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_main.c
drivers/net/ethernet/intel/i40e/i40e_client.h