]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/sunhme.c
netdev: convert bulk of drivers to netdev_tx_t
[net-next-2.6.git] / drivers / net / sunhme.c
index 4ef729198e10b6630692fef18b2a47cb88bc10b6..37d721bbdb3532abf4a8919dca1b085e79226145 100644 (file)
@@ -2252,7 +2252,8 @@ static void happy_meal_tx_timeout(struct net_device *dev)
        netif_wake_queue(dev);
 }
 
-static int happy_meal_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t happy_meal_start_xmit(struct sk_buff *skb,
+                                        struct net_device *dev)
 {
        struct happy_meal *hp = netdev_priv(dev);
        int entry;
@@ -2338,7 +2339,7 @@ static int happy_meal_start_xmit(struct sk_buff *skb, struct net_device *dev)
        dev->trans_start = jiffies;
 
        tx_add_log(hp, TXLOG_ACTION_TXMIT, 0);
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 static struct net_device_stats *happy_meal_get_stats(struct net_device *dev)