Skip to content

Commit

Permalink
uwb: convert to netdev_tx_t
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and davem330 committed Sep 1, 2009
1 parent 424efe9 commit 3a27c14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/uwb/i1480/i1480u-wlp/i1480u-wlp.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ extern void i1480u_sysfs_release(struct i1480u *);
/* netdev interface */
extern int i1480u_open(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 int i1480u_set_config(struct net_device *, struct ifmap *);
extern int i1480u_change_mtu(struct net_device *, int);
Expand Down
3 changes: 2 additions & 1 deletion drivers/uwb/i1480/i1480u-wlp/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ int i1480u_xmit_frame(struct wlp *wlp, struct sk_buff *skb,
*
* @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;
struct i1480u *i1480u = netdev_priv(net_dev);
Expand Down

0 comments on commit 3a27c14

Please sign in to comment.