wan: convert drivers to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
61a8410854
commit
d71a674922
@@ -139,8 +139,8 @@ static int cycx_netdevice_hard_header(struct sk_buff *skb,
|
||||
const void *daddr, const void *saddr,
|
||||
unsigned len);
|
||||
static int cycx_netdevice_rebuild_header(struct sk_buff *skb);
|
||||
static int cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
static netdev_tx_t cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
|
||||
static struct net_device_stats *
|
||||
cycx_netdevice_get_stats(struct net_device *dev);
|
||||
@@ -593,8 +593,8 @@ static int cycx_netdevice_rebuild_header(struct sk_buff *skb)
|
||||
* bottom half" (with interrupts enabled).
|
||||
* 2. Setting tbusy flag will inhibit further transmit requests from the
|
||||
* protocol stack and can be used for flow control with protocol layer. */
|
||||
static int cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
static netdev_tx_t cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
{
|
||||
struct cycx_x25_channel *chan = netdev_priv(dev);
|
||||
struct cycx_device *card = chan->card;
|
||||
|
Reference in New Issue
Block a user