mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
uwb: convert 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:
parent
424efe9caf
commit
3a27c149ab
2 changed files with 4 additions and 2 deletions
|
@ -267,7 +267,8 @@ extern void i1480u_sysfs_release(struct i1480u *);
|
||||||
/* netdev interface */
|
/* netdev interface */
|
||||||
extern int i1480u_open(struct net_device *);
|
extern int i1480u_open(struct net_device *);
|
||||||
extern int i1480u_stop(struct net_device *);
|
extern int i1480u_stop(struct net_device *);
|
||||||
extern int i1480u_hard_start_xmit(struct sk_buff *, struct net_device *);
|
extern netdev_tx_t i1480u_hard_start_xmit(struct sk_buff *,
|
||||||
|
struct net_device *);
|
||||||
extern void i1480u_tx_timeout(struct net_device *);
|
extern void i1480u_tx_timeout(struct net_device *);
|
||||||
extern int i1480u_set_config(struct net_device *, struct ifmap *);
|
extern int i1480u_set_config(struct net_device *, struct ifmap *);
|
||||||
extern int i1480u_change_mtu(struct net_device *, int);
|
extern int i1480u_change_mtu(struct net_device *, int);
|
||||||
|
|
|
@ -503,7 +503,8 @@ int i1480u_xmit_frame(struct wlp *wlp, struct sk_buff *skb,
|
||||||
*
|
*
|
||||||
* @net_dev->xmit_lock is held
|
* @net_dev->xmit_lock is held
|
||||||
*/
|
*/
|
||||||
int i1480u_hard_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
|
netdev_tx_t i1480u_hard_start_xmit(struct sk_buff *skb,
|
||||||
|
struct net_device *net_dev)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
struct i1480u *i1480u = netdev_priv(net_dev);
|
struct i1480u *i1480u = netdev_priv(net_dev);
|
||||||
|
|
Loading…
Reference in a new issue