diff options
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r-- | drivers/net/ne2k-pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c index 1ee7eac0f6ed..589785d1e762 100644 --- a/drivers/net/ne2k-pci.c +++ b/drivers/net/ne2k-pci.c | |||
@@ -175,7 +175,7 @@ static void ne2k_pci_block_input(struct net_device *dev, int count, | |||
175 | struct sk_buff *skb, int ring_offset); | 175 | struct sk_buff *skb, int ring_offset); |
176 | static void ne2k_pci_block_output(struct net_device *dev, const int count, | 176 | static void ne2k_pci_block_output(struct net_device *dev, const int count, |
177 | const unsigned char *buf, const int start_page); | 177 | const unsigned char *buf, const int start_page); |
178 | static struct ethtool_ops ne2k_pci_ethtool_ops; | 178 | static const struct ethtool_ops ne2k_pci_ethtool_ops; |
179 | 179 | ||
180 | 180 | ||
181 | 181 | ||
@@ -635,7 +635,7 @@ static void ne2k_pci_get_drvinfo(struct net_device *dev, | |||
635 | strcpy(info->bus_info, pci_name(pci_dev)); | 635 | strcpy(info->bus_info, pci_name(pci_dev)); |
636 | } | 636 | } |
637 | 637 | ||
638 | static struct ethtool_ops ne2k_pci_ethtool_ops = { | 638 | static const struct ethtool_ops ne2k_pci_ethtool_ops = { |
639 | .get_drvinfo = ne2k_pci_get_drvinfo, | 639 | .get_drvinfo = ne2k_pci_get_drvinfo, |
640 | .get_tx_csum = ethtool_op_get_tx_csum, | 640 | .get_tx_csum = ethtool_op_get_tx_csum, |
641 | .get_sg = ethtool_op_get_sg, | 641 | .get_sg = ethtool_op_get_sg, |