]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/sxg/sxg_ethtool.c
netdev: drivers should make ethtool_ops const
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / sxg / sxg_ethtool.c
index ad89cb829b85be2e4df5afcb2d5319a5a0dd4b55..f5a0706478dadf31983e10939ccde89d145fe492 100644 (file)
@@ -300,7 +300,7 @@ static int sxg_nic_get_eeprom(struct net_device *netdev,
        return 0;
 }
 
-struct ethtool_ops sxg_nic_ethtool_ops = {
+const struct ethtool_ops sxg_nic_ethtool_ops = {
        .get_settings = sxg_nic_get_settings,
        .set_settings = sxg_nic_set_settings,
        .get_drvinfo = sxg_nic_get_drvinfo,