Subject: [PATCH 1/2] fec: convert TX hook to netdev_tx_t

From: Denis Kirjanov <[email-masked]>
Date: Wed, 2 Jun 2010 19:15:47 +0000

Convert TX hook return value to netdev_tx_t

Signed-off-by: Denis Kirjanov <[email-masked]>
---
drivers/net/fec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 42d9ac9..64afed0 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -208,7 +208,7 @@ static void fec_stop(struct net_device *dev);
 /* Transmitter timeout */
 #define TX_TIMEOUT (2 * HZ)
 
-static int
+static netdev_tx_t
 fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct fec_enet_private *fep = netdev_priv(dev);