From: Denis Kirjanov Date: Wed, 2 Jun 2010 09:15:47 +0000 (+0000) Subject: fec: convert TX hook to netdev_tx_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7621cb3d9a2c42d2fed7e16845611c8c6fd5835;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git fec: convert TX hook to netdev_tx_t Convert TX hook return value to netdev_tx_t Signed-off-by: Denis Kirjanov Signed-off-by: David S. Miller --- 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); /* 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);