diff options
-rw-r--r-- | drivers/net/greth.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/greth.c b/drivers/net/greth.c index d2032339f6de..d75b46141603 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c | |||
@@ -66,8 +66,10 @@ module_param(greth_edcl, int, 0); | |||
66 | MODULE_PARM_DESC(greth_edcl, "GRETH EDCL usage indicator. Set to 1 if EDCL is used."); | 66 | MODULE_PARM_DESC(greth_edcl, "GRETH EDCL usage indicator. Set to 1 if EDCL is used."); |
67 | 67 | ||
68 | static int greth_open(struct net_device *dev); | 68 | static int greth_open(struct net_device *dev); |
69 | static int greth_start_xmit(struct sk_buff *skb, struct net_device *dev); | 69 | static netdev_tx_t greth_start_xmit(struct sk_buff *skb, |
70 | static int greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev); | 70 | struct net_device *dev); |
71 | static netdev_tx_t greth_start_xmit_gbit(struct sk_buff *skb, | ||
72 | struct net_device *dev); | ||
71 | static int greth_rx(struct net_device *dev, int limit); | 73 | static int greth_rx(struct net_device *dev, int limit); |
72 | static int greth_rx_gbit(struct net_device *dev, int limit); | 74 | static int greth_rx_gbit(struct net_device *dev, int limit); |
73 | static void greth_clean_tx(struct net_device *dev); | 75 | static void greth_clean_tx(struct net_device *dev); |
@@ -379,7 +381,8 @@ static int greth_close(struct net_device *dev) | |||
379 | return 0; | 381 | return 0; |
380 | } | 382 | } |
381 | 383 | ||
382 | static int greth_start_xmit(struct sk_buff *skb, struct net_device *dev) | 384 | static netdev_tx_t |
385 | greth_start_xmit(struct sk_buff *skb, struct net_device *dev) | ||
383 | { | 386 | { |
384 | struct greth_private *greth = netdev_priv(dev); | 387 | struct greth_private *greth = netdev_priv(dev); |
385 | struct greth_bd *bdp; | 388 | struct greth_bd *bdp; |
@@ -441,7 +444,8 @@ out: | |||
441 | } | 444 | } |
442 | 445 | ||
443 | 446 | ||
444 | static int greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev) | 447 | static netdev_tx_t |
448 | greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev) | ||
445 | { | 449 | { |
446 | struct greth_private *greth = netdev_priv(dev); | 450 | struct greth_private *greth = netdev_priv(dev); |
447 | struct greth_bd *bdp; | 451 | struct greth_bd *bdp; |