diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-02 04:03:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 04:03:33 -0400 |
commit | 0fc0b732eaa38beb93a6fb62f77c7bd9622c76ec (patch) | |
tree | 2423b134116c16f027ebeae7954c098f27d6e619 /drivers/staging/sxg/sxg.h | |
parent | daf09de817353f18bb81a23a023d429cfd258e62 (diff) |
netdev: drivers should make ethtool_ops const
No need to put ethtool_ops in data, they should be const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging/sxg/sxg.h')
-rw-r--r-- | drivers/staging/sxg/sxg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxg.h b/drivers/staging/sxg/sxg.h index f07aa708d86..110096a5c52 100644 --- a/drivers/staging/sxg/sxg.h +++ b/drivers/staging/sxg/sxg.h | |||
@@ -782,6 +782,6 @@ struct slic_crash_info { | |||
782 | #define SIOCSLICSETINTAGG (SIOCDEVPRIVATE+10) | 782 | #define SIOCSLICSETINTAGG (SIOCDEVPRIVATE+10) |
783 | #define SIOCSLICTRACEDUMP (SIOCDEVPRIVATE+11) | 783 | #define SIOCSLICTRACEDUMP (SIOCDEVPRIVATE+11) |
784 | 784 | ||
785 | extern struct ethtool_ops sxg_nic_ethtool_ops; | 785 | extern const struct ethtool_ops sxg_nic_ethtool_ops; |
786 | #define SXG_COMPLETE_SLOW_SEND_LIMIT 128 | 786 | #define SXG_COMPLETE_SLOW_SEND_LIMIT 128 |
787 | #endif /* __SXG_DRIVER_H__ */ | 787 | #endif /* __SXG_DRIVER_H__ */ |