]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/macb.c
netdev: drivers should make ethtool_ops const
[mirror_ubuntu-bionic-kernel.git] / drivers / net / macb.c
index 01aaca99d29f1576fbaa71a915ded306ccfdaeb2..fb65b427c69227231e125b882a6de80b6e741254 100644 (file)
@@ -1079,7 +1079,7 @@ static void macb_get_drvinfo(struct net_device *dev,
        strcpy(info->bus_info, dev_name(&bp->pdev->dev));
 }
 
-static struct ethtool_ops macb_ethtool_ops = {
+static const struct ethtool_ops macb_ethtool_ops = {
        .get_settings           = macb_get_settings,
        .set_settings           = macb_set_settings,
        .get_drvinfo            = macb_get_drvinfo,