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>
This commit is contained in:

committed by
David S. Miller

parent
daf09de817
commit
0fc0b732ea
@@ -22,6 +22,6 @@ extern int efx_ethtool_get_settings(struct net_device *net_dev,
|
||||
extern int efx_ethtool_set_settings(struct net_device *net_dev,
|
||||
struct ethtool_cmd *ecmd);
|
||||
|
||||
extern struct ethtool_ops efx_ethtool_ops;
|
||||
extern const struct ethtool_ops efx_ethtool_ops;
|
||||
|
||||
#endif /* EFX_ETHTOOL_H */
|
||||
|
Reference in New Issue
Block a user