mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-23 03:38:05 +08:00
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>
This commit is contained in:
parent
68d6d4ab9a
commit
1bba2e81f5
@ -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)},
|
||||
|
Loading…
x
Reference in New Issue
Block a user