X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fnet%2Feepro.c;h=09ff9b9418f45835d976d3db6167ac5235b3f428;hb=2a88c17371c3c263c28330093a4cd21bbeceb677;hp=bf9efa75390fafbfe48066df3b8e6432e036d6fb;hpb=d5b20697ca37d80cc4ec2ba3c5ddf1339dc1d49a;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index bf9efa7..09ff9b9 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c @@ -743,7 +743,7 @@ static void __init eepro_print_info (struct net_device *dev) printEEPROMInfo(dev); } -static struct ethtool_ops eepro_ethtool_ops; +static const struct ethtool_ops eepro_ethtool_ops; /* This is the real probe routine. Linux has a history of friendly device probes on the ISA bus. A good device probe avoids doing writes, and @@ -1771,7 +1771,7 @@ static void eepro_ethtool_get_drvinfo(struct net_device *dev, sprintf(drvinfo->bus_info, "ISA 0x%lx", dev->base_addr); } -static struct ethtool_ops eepro_ethtool_ops = { +static const struct ethtool_ops eepro_ethtool_ops = { .get_settings = eepro_ethtool_get_settings, .get_drvinfo = eepro_ethtool_get_drvinfo, };