netdev: drivers should make ethtool_ops const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / igb / igb_ethtool.c
index 114ccab1f2beb62fdae768e22f34f4cf3df50e87..d004c359244c9b03e2e5e753f5300abc15be8bc1 100644 (file)
@@ -2016,7 +2016,7 @@ static void igb_get_strings(struct net_device *netdev, u32 stringset, u8 *data)
        }
 }
 
-static struct ethtool_ops igb_ethtool_ops = {
+static const struct ethtool_ops igb_ethtool_ops = {
        .get_settings           = igb_get_settings,
        .set_settings           = igb_set_settings,
        .get_drvinfo            = igb_get_drvinfo,