aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/hso.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-31 15:50:45 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:13:22 -0400
commit25a79c41ce0ce88a4288adf278e9b0e00f228383 (patch)
tree4b1c76c704c3956478e76b51d34643a1caf80368 /drivers/net/usb/hso.c
parent8b62ff2dbc3d6c13997b9d440dfd0ed00e6df96d (diff)
usbnet: convert to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r--drivers/net/usb/hso.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index ffe410635735..123f9b84dd29 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -771,7 +771,8 @@ static void write_bulk_callback(struct urb *urb)
771} 771}
772 772
773/* called by kernel when we need to transmit a packet */ 773/* called by kernel when we need to transmit a packet */
774static int hso_net_start_xmit(struct sk_buff *skb, struct net_device *net) 774static netdev_tx_t hso_net_start_xmit(struct sk_buff *skb,
775 struct net_device *net)
775{ 776{
776 struct hso_net *odev = netdev_priv(net); 777 struct hso_net *odev = netdev_priv(net);
777 int result; 778 int result;