]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/sunlance.c
drivers/net: const-ify ethtool_ops declarations
[mirror_ubuntu-bionic-kernel.git] / drivers / net / sunlance.c
index e4c8576454d76eb35ae9ae4f405779c497295186..77670741e101384ded859d3307860a5a870bdc1f 100644 (file)
@@ -1318,7 +1318,7 @@ static u32 sparc_lance_get_link(struct net_device *dev)
        return 1;
 }
 
-static struct ethtool_ops sparc_lance_ethtool_ops = {
+static const struct ethtool_ops sparc_lance_ethtool_ops = {
        .get_drvinfo            = sparc_lance_get_drvinfo,
        .get_link               = sparc_lance_get_link,
 };