diff options
Diffstat (limited to 'drivers/ieee1394/eth1394.c')
-rw-r--r-- | drivers/ieee1394/eth1394.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index 1ad8785e398b..3a62c4c2d419 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c | |||
@@ -173,7 +173,7 @@ static netdev_tx_t ether1394_tx(struct sk_buff *skb, | |||
173 | struct net_device *dev); | 173 | struct net_device *dev); |
174 | static void ether1394_iso(struct hpsb_iso *iso); | 174 | static void ether1394_iso(struct hpsb_iso *iso); |
175 | 175 | ||
176 | static struct ethtool_ops ethtool_ops; | 176 | static const struct ethtool_ops ethtool_ops; |
177 | 177 | ||
178 | static int ether1394_write(struct hpsb_host *host, int srcid, int destid, | 178 | static int ether1394_write(struct hpsb_host *host, int srcid, int destid, |
179 | quadlet_t *data, u64 addr, size_t len, u16 flags); | 179 | quadlet_t *data, u64 addr, size_t len, u16 flags); |
@@ -1706,7 +1706,7 @@ static void ether1394_get_drvinfo(struct net_device *dev, | |||
1706 | strcpy(info->bus_info, "ieee1394"); /* FIXME provide more detail? */ | 1706 | strcpy(info->bus_info, "ieee1394"); /* FIXME provide more detail? */ |
1707 | } | 1707 | } |
1708 | 1708 | ||
1709 | static struct ethtool_ops ethtool_ops = { | 1709 | static const struct ethtool_ops ethtool_ops = { |
1710 | .get_drvinfo = ether1394_get_drvinfo | 1710 | .get_drvinfo = ether1394_get_drvinfo |
1711 | }; | 1711 | }; |
1712 | 1712 | ||