summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-01-05 06:29:54 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-02-03 03:05:43 -0800
commit1bba2e81f5575825b59146f982004415d3751e6b (patch)
treec404ff2298aebf4578c63aae1d99d0dda24b0c78 /drivers/net/ethernet/intel
parent68d6d4ab9a963cfaece88f9b4ea23be517ce46b0 (diff)
downloadblackbird-op-linux-1bba2e81f5575825b59146f982004415d3751e6b.tar.gz
blackbird-op-linux-1bba2e81f5575825b59146f982004415d3751e6b.zip
ixgbe: make ethtool strings table const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
index 1fd510c581bc..1f31a04d3c91 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
@@ -58,7 +58,7 @@ struct ixgbe_stats {
sizeof(((struct rtnl_link_stats64 *)0)->m), \
offsetof(struct rtnl_link_stats64, m)
-static struct ixgbe_stats ixgbe_gstrings_stats[] = {
+static const struct ixgbe_stats ixgbe_gstrings_stats[] = {
{"rx_packets", IXGBE_NETDEV_STAT(rx_packets)},
{"tx_packets", IXGBE_NETDEV_STAT(tx_packets)},
{"rx_bytes", IXGBE_NETDEV_STAT(rx_bytes)},
OpenPOWER on IntegriCloud