drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -298,7 +298,7 @@ static int dmfe_start_xmit(struct sk_buff *, struct DEVICE *);
|
||||
static int dmfe_stop(struct DEVICE *);
|
||||
static struct net_device_stats * dmfe_get_stats(struct DEVICE *);
|
||||
static void dmfe_set_filter_mode(struct DEVICE *);
|
||||
static struct ethtool_ops netdev_ethtool_ops;
|
||||
static const struct ethtool_ops netdev_ethtool_ops;
|
||||
static u16 read_srom_word(long ,int);
|
||||
static irqreturn_t dmfe_interrupt(int , void *, struct pt_regs *);
|
||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||
@@ -1048,7 +1048,7 @@ static void netdev_get_drvinfo(struct net_device *dev,
|
||||
dev->base_addr, dev->irq);
|
||||
}
|
||||
|
||||
static struct ethtool_ops netdev_ethtool_ops = {
|
||||
static const struct ethtool_ops netdev_ethtool_ops = {
|
||||
.get_drvinfo = netdev_get_drvinfo,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user