X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Ffirewire%2Fnet.c;h=cbaf420c36c531d4c09d612b62bca003dd86896e;hb=0dd52d0df02733dfc2d5f3824e41b96492305384;hp=a42209a73aed3ef5ec6393d4a5df6d495829c9b4;hpb=fc8e1ead9314cf0e0f1922e661428b93d3a50d88;p=mv-sheeva.git diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index a42209a73ae..cbaf420c36c 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c @@ -663,8 +663,6 @@ static int fwnet_finish_incoming_packet(struct net_device *net, if (netif_queue_stopped(net)) netif_wake_queue(net); - net->last_rx = jiffies; - return 0; } @@ -1188,7 +1186,7 @@ static int fwnet_stop(struct net_device *net) return 0; } -static int fwnet_tx(struct sk_buff *skb, struct net_device *net) +static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net) { struct fwnet_header hdr_buf; struct fwnet_device *dev = netdev_priv(net); @@ -1342,7 +1340,7 @@ static void fwnet_get_drvinfo(struct net_device *net, strcpy(info->bus_info, "ieee1394"); } -static struct ethtool_ops fwnet_ethtool_ops = { +static const struct ethtool_ops fwnet_ethtool_ops = { .get_drvinfo = fwnet_get_drvinfo, };