]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit092c44ea58d090b62206106f4557a4a0b9579871
treecbdb38ec8d39ad33a36e69420f69927192af8e23
parent1162e5eb2e5afda9aa3d28f4fcce664052c680d0
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