]> 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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 May 2016 06:32:59 +0000 (23:32 -0700)
commitf1d31b6b56687bc5ec7b543e0c730b87ae4e2066
treea8f3d311522d4f8f61f37392229f61e58ed3a205
parent03076646a5b75140a90161fbf6cec0f50f32f63b
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>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/infiniband/hw/i40iw/i40iw_main.c
drivers/net/ethernet/intel/i40e/i40e_client.h