aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm
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/arm
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff)
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/arm')
-rw-r--r--drivers/net/arm/at91_ether.c2
-rw-r--r--drivers/net/arm/etherh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c
index 85493b7b924f..95b28aa01f4f 100644
--- a/drivers/net/arm/at91_ether.c
+++ b/drivers/net/arm/at91_ether.c
@@ -648,7 +648,7 @@ static void at91ether_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo
648 strlcpy(info->bus_info, dev->class_dev.dev->bus_id, sizeof(info->bus_info)); 648 strlcpy(info->bus_info, dev->class_dev.dev->bus_id, sizeof(info->bus_info));
649} 649}
650 650
651static struct ethtool_ops at91ether_ethtool_ops = { 651static const struct ethtool_ops at91ether_ethtool_ops = {
652 .get_settings = at91ether_get_settings, 652 .get_settings = at91ether_get_settings,
653 .set_settings = at91ether_set_settings, 653 .set_settings = at91ether_set_settings,
654 .get_drvinfo = at91ether_get_drvinfo, 654 .get_drvinfo = at91ether_get_drvinfo,
diff --git a/drivers/net/arm/etherh.c b/drivers/net/arm/etherh.c
index d52deb8d2075..4ae98970b282 100644
--- a/drivers/net/arm/etherh.c
+++ b/drivers/net/arm/etherh.c
@@ -626,7 +626,7 @@ static int etherh_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
626 return 0; 626 return 0;
627} 627}
628 628
629static struct ethtool_ops etherh_ethtool_ops = { 629static const struct ethtool_ops etherh_ethtool_ops = {
630 .get_settings = etherh_get_settings, 630 .get_settings = etherh_get_settings,
631 .set_settings = etherh_set_settings, 631 .set_settings = etherh_set_settings,
632 .get_drvinfo = etherh_get_drvinfo, 632 .get_drvinfo = etherh_get_drvinfo,