diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-01-04 07:59:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-05 13:23:00 -0500 |
commit | 9b07be4b2a78166bc54c8eedf18da8a8aafacfab (patch) | |
tree | 6a1e70a5777befcd2ed840f0a8d24f6477309987 /drivers/net/ethernet/chelsio/cxgb4vf | |
parent | c8b88efc3047063f98eba26d8d08d9a6b968c73a (diff) |
net: make ethtool_ops const
Auditing all usage of ethtool_ops found several drivers that
are not declaring the struct const when it should be.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4vf')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c index 8155cfecae19..5ca73671830b 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | |||
@@ -1564,7 +1564,7 @@ static void cxgb4vf_get_wol(struct net_device *dev, | |||
1564 | */ | 1564 | */ |
1565 | #define TSO_FLAGS (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) | 1565 | #define TSO_FLAGS (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) |
1566 | 1566 | ||
1567 | static struct ethtool_ops cxgb4vf_ethtool_ops = { | 1567 | static const struct ethtool_ops cxgb4vf_ethtool_ops = { |
1568 | .get_settings = cxgb4vf_get_settings, | 1568 | .get_settings = cxgb4vf_get_settings, |
1569 | .get_drvinfo = cxgb4vf_get_drvinfo, | 1569 | .get_drvinfo = cxgb4vf_get_drvinfo, |
1570 | .get_msglevel = cxgb4vf_get_msglevel, | 1570 | .get_msglevel = cxgb4vf_get_msglevel, |