fec: convert TX hook to netdev_tx_t
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Wed, 2 Jun 2010 09:15:47 +0000 (09:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:18:21 +0000 (03:18 -0700)
Convert TX hook return value to netdev_tx_t

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c

index ddf7a86cd4661f0cdfa438d7a2a9dae6db68acec..b896f686ab345943ca376a72cb991492d8e139be 100644 (file)
@@ -210,7 +210,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);