aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
commit7282d491ecaee9883233a0e27283c4c79486279a (patch)
tree172ffa70716f5493db57976ceef7652120b3332f /drivers/net/dl2k.c
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff)
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/dl2k.c')
-rw-r--r--drivers/net/dl2k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index 5c520f6f66ef..c5c80da239de 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -83,7 +83,7 @@ static int mii_read (struct net_device *dev, int phy_addr, int reg_num);
83static int mii_write (struct net_device *dev, int phy_addr, int reg_num, 83static int mii_write (struct net_device *dev, int phy_addr, int reg_num,
84 u16 data); 84 u16 data);
85 85
86static struct ethtool_ops ethtool_ops; 86static const struct ethtool_ops ethtool_ops;
87 87
88static int __devinit 88static int __devinit
89rio_probe1 (struct pci_dev *pdev, const struct pci_device_id *ent) 89rio_probe1 (struct pci_dev *pdev, const struct pci_device_id *ent)
@@ -1261,7 +1261,7 @@ static u32 rio_get_link(struct net_device *dev)
1261 return np->link_status; 1261 return np->link_status;
1262} 1262}
1263 1263
1264static struct ethtool_ops ethtool_ops = { 1264static const struct ethtool_ops ethtool_ops = {
1265 .get_drvinfo = rio_get_drvinfo, 1265 .get_drvinfo = rio_get_drvinfo,
1266 .get_settings = rio_get_settings, 1266 .get_settings = rio_get_settings,
1267 .set_settings = rio_set_settings, 1267 .set_settings = rio_set_settings,