]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/bnx2.c
drivers/net: const-ify ethtool_ops declarations
[mirror_ubuntu-bionic-kernel.git] / drivers / net / bnx2.c
index eae5a55103b0a5efca3b7556f0fee1c8945528ae..b158de28d6f932f10b129412c37ab924657c05a3 100644 (file)
@@ -5429,7 +5429,7 @@ bnx2_phys_id(struct net_device *dev, u32 data)
        return 0;
 }
 
-static struct ethtool_ops bnx2_ethtool_ops = {
+static const struct ethtool_ops bnx2_ethtool_ops = {
        .get_settings           = bnx2_get_settings,
        .set_settings           = bnx2_set_settings,
        .get_drvinfo            = bnx2_get_drvinfo,