Skip to contentSkip to conversation

ksz884x: convert to netdev_tx_t

PATCH Applied Denis Kirjanov 2 participants 2 messages May 31, 2010 – Jun 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ksz884x: convert to netdev_tx_t

Convert TX hook to netdev_tx_t type

---
drivers/net/ksz884x.c | 3 ++-

 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/ksz884x.c +1 -1
index c80ca64..7805bbf 100644
@@ -4854,7 +4854,7 @@ static inline void copy_old_skb(struct sk_buff *old, struct sk_buff *skb)
  *
  * Return 0 if successful; otherwise an error code indicating failure.
  */
-static int netdev_tx(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t netdev_tx(struct sk_buff *skb, struct net_device *dev)
 {
 	struct dev_priv *priv = netdev_priv(dev);
 	struct dev_info *hw_priv = priv->adapter;