]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/ks8851.c
netdev: convert bulk of drivers to netdev_tx_t
[net-next-2.6.git] / drivers / net / ks8851.c
index 9a1dea60c1c41c62a4632d5bd9647cefa2fd6b9f..547ac7c7479ced9240ec6d08a32ee7209001b34a 100644 (file)
@@ -868,11 +868,12 @@ static int ks8851_net_stop(struct net_device *dev)
  * and secondly so we can round up more than one packet to transmit which
  * means we can try and avoid generating too many transmit done interrupts.
  */
-static int ks8851_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t ks8851_start_xmit(struct sk_buff *skb,
+                                    struct net_device *dev)
 {
        struct ks8851_net *ks = netdev_priv(dev);
        unsigned needed = calc_txlen(skb->len);
-       int ret = NETDEV_TX_OK;
+       netdev_tx_t ret = NETDEV_TX_OK;
 
        if (netif_msg_tx_queued(ks))
                ks_dbg(ks, "%s: skb %p, %d@%p\n", __func__,