Skip to content
Commit 2e033eac authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Jeff Kirsher
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 2e22a75c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment