aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.c
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@hera.kernel.org>2010-06-02 05:15:47 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-03 06:18:21 -0400
commitc7621cb3d9a2c42d2fed7e16845611c8c6fd5835 (patch)
treeda225ca9fd06d08aaf1c045ecc53bd0514da57a0 /drivers/net/fec.c
parent7e364e9668ceb5094622144ef4c931305329c175 (diff)
fec: convert TX hook to netdev_tx_t
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>
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r--drivers/net/fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index ddf7a86cd466..b896f686ab34 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -210,7 +210,7 @@ static void fec_stop(struct net_device *dev);
210/* Transmitter timeout */ 210/* Transmitter timeout */
211#define TX_TIMEOUT (2 * HZ) 211#define TX_TIMEOUT (2 * HZ)
212 212
213static int 213static netdev_tx_t
214fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev) 214fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
215{ 215{
216 struct fec_enet_private *fep = netdev_priv(dev); 216 struct fec_enet_private *fep = netdev_priv(dev);