]> git.baikalelectronics.ru Git - kernel.git/commit
igb: constify e1000_phy_operations structure
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 3 Jan 2016 06:44:56 +0000 (07:44 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 24 Feb 2016 23:11:07 +0000 (15:11 -0800)
commitc3e9f3022843b043382b9f56169174eda59d4e86
tree532c62bab168476430016226706d57185320837a
parent4db53b7f37a20d8f32a8c491f024fb43ba03e057
igb: constify e1000_phy_operations structure

This e1000_phy_operations structure is never modified, so declare it as
const.  Other structures of this type are already const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.c
drivers/net/ethernet/intel/igb/e1000_hw.h