drivers/net: const-ify ethtool_ops declarations
[deliverable/linux.git] / drivers / net / 8139cp.c
index 488241c5bdd82729c37bbc1cdb9a657e42114a2b..5ba11fa08147caa13edbd6826683abe0f72f7419 100644 (file)
@@ -1546,7 +1546,7 @@ static void cp_get_ethtool_stats (struct net_device *dev,
        pci_free_consistent(cp->pdev, sizeof(*nic_stats), nic_stats, dma);
 }
 
-static struct ethtool_ops cp_ethtool_ops = {
+static const struct ethtool_ops cp_ethtool_ops = {
        .get_drvinfo            = cp_get_drvinfo,
        .get_regs_len           = cp_get_regs_len,
        .get_stats_count        = cp_get_stats_count,
This page took 0.039558 seconds and 5 git commands to generate.