]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:30 +0000 (14:28 -0700)
commitcabbe1461fccec8b25c86be3e270b6cdd551185f
tree47a148d5541b380cce1212207c9bb1842c6f3515
parenteceea749c3055f0fc6f47663a4772382e2e02965
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>
(cherry picked from commit 5b70e4a12a525b5f3d4a3e3f0567ed877195b187)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/e1000_82575.c
drivers/net/ethernet/intel/igb/e1000_hw.h