]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: declare ixgbe_mac_operations structures as const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 17 Jul 2017 15:01:18 +0000 (20:31 +0530)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 16:34:27 +0000 (09:34 -0700)
commit8602e3a2702489e86105fc78753267a9fbdd92d3
tree78464fea3f15b1a6cc8c309caf54158afec5b250
parent900c78633350f7be2d17689fdf1aa4b916974b16
ixgbe: declare ixgbe_mac_operations structures as const

Declare ixgbe_mac_operations structures as const as they are only stored
in the mac_ops field of ixgbe_info structure. This field is of type
const and therefore ixgbe_mac_operations structure can be made const
too.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c