netdev: drivers should make ethtool_ops const
[linux-2.6-block.git] / drivers / net / bnx2x_main.c
index e2e50267cc64d8b177ce1a8f81f43a1c8378f3e5..20f0ed956df26b57c51dbe8631cfa62d6a55b19e 100644 (file)
@@ -10606,7 +10606,7 @@ static int bnx2x_phys_id(struct net_device *dev, u32 data)
        return 0;
 }
 
-static struct ethtool_ops bnx2x_ethtool_ops = {
+static const struct ethtool_ops bnx2x_ethtool_ops = {
        .get_settings           = bnx2x_get_settings,
        .set_settings           = bnx2x_set_settings,
        .get_drvinfo            = bnx2x_get_drvinfo,