OSDN Git Service

ice: Constify global structures that can/should be
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 26 Oct 2018 18:44:42 +0000 (11:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Nov 2018 19:39:04 +0000 (11:39 -0800)
commit55aa141ed909711939ee4546b85d09d2f2894532
treefd40a57d2d2a62744de6b9f1400b5a592b89e1f4
parent6a7e69936992104e7abbf12c7f619a39bf139a48
ice: Constify global structures that can/should be

Indicate these structs should not be modified and take advantage of some
compiler optimizations by making these structs const.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c