]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/arm/ep93xx_eth.c
netdev: drivers should make ethtool_ops const
[mirror_ubuntu-bionic-kernel.git] / drivers / net / arm / ep93xx_eth.c
index fbf4645417d496941f5e6fdccba6c988ec136808..2be49c817995d45e7802fee8eeb61b0e99cf7ad8 100644 (file)
@@ -762,7 +762,7 @@ static u32 ep93xx_get_link(struct net_device *dev)
        return mii_link_ok(&ep->mii);
 }
 
-static struct ethtool_ops ep93xx_ethtool_ops = {
+static const struct ethtool_ops ep93xx_ethtool_ops = {
        .get_drvinfo            = ep93xx_get_drvinfo,
        .get_settings           = ep93xx_get_settings,
        .set_settings           = ep93xx_set_settings,