X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fatm%2Flec.c;h=b2d644560323c945da9019cdba493212d9dd20e9;hb=3c805a22a3a178fc5aaadd518afa5358b78bf69e;hp=8e723c2654cb82f50f4376291be41ce49d988de9;hpb=aa11d958d1a6572eda08214d7c6a735804fe48a5;p=karo-tx-linux.git diff --git a/net/atm/lec.c b/net/atm/lec.c index 8e723c2654cb..b2d644560323 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c @@ -59,7 +59,8 @@ static unsigned char bridge_ula_lec[] = { 0x01, 0x80, 0xc2, 0x00, 0x00 }; */ static int lec_open(struct net_device *dev); -static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev); +static netdev_tx_t lec_start_xmit(struct sk_buff *skb, + struct net_device *dev); static int lec_close(struct net_device *dev); static void lec_init(struct net_device *dev); static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, @@ -247,7 +248,8 @@ static void lec_tx_timeout(struct net_device *dev) netif_wake_queue(dev); } -static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev) +static netdev_tx_t lec_start_xmit(struct sk_buff *skb, + struct net_device *dev) { struct sk_buff *skb2; struct lec_priv *priv = netdev_priv(dev);