]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ksz884x: convert to netdev_tx_t
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Mon, 31 May 2010 00:24:49 +0000 (00:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2010 07:24:32 +0000 (00:24 -0700)
Convert TX hook to netdev_tx_t type

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ksz884x.c

index c80ca64277b224934bc57e1b541c7cef7193a9ff..4568b6f163eb647a054891d595ed59b3aec9fd3f 100644 (file)
@@ -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;