]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40evf: make ethtool_ops const
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 4 Apr 2014 04:43:11 +0000 (04:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 21 May 2014 09:59:57 +0000 (02:59 -0700)
commitf0c53c7632e62b6184fe9db8335548bf43380cf0
treeb08306a52223f8b2e3f514089d9234e485fa4f51
parent107f301861fd29b3bec9e76278cb87da9990aa11
i40evf: make ethtool_ops const

Const-ify the ethtool_ops structure, as it is extremely unlikely to
change at runtime. Suggested by Ben Hutchings.

CC: Ben Hutchings <ben@decadent.org.uk>
Change-ID: I1ccb1b7c3ea801cc934447599a35910e7c93d321
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c