mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
netdev: convert pseudo drivers to netdev_tx_t
These are all drivers that don't touch real hardware. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
6518bbb803
commit
424efe9caf
13 changed files with 27 additions and 29 deletions
|
|
@ -183,7 +183,7 @@ static int gprs_close(struct net_device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int gprs_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
struct gprs_dev *gp = netdev_priv(dev);
|
||||
struct sock *sk = gp->sk;
|
||||
|
|
|
|||
Loading…
Reference in a new issue