]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/meth.c
iwlwifi: Name fix for MPDU density for TX aggregation
[mv-sheeva.git] / drivers / net / meth.c
index 5d04d94f2a2164bab6a8eac4c01705601a7cd24c..92ceb689b4d49c854a669cda872cff1da7822d18 100644 (file)
@@ -715,7 +715,7 @@ static int meth_tx(struct sk_buff *skb, struct net_device *dev)
 
        spin_unlock_irqrestore(&priv->meth_lock, flags);
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /*
@@ -784,7 +784,7 @@ static const struct net_device_ops meth_netdev_ops = {
 /*
  * The init function.
  */
-static int __init meth_probe(struct platform_device *pdev)
+static int __devinit meth_probe(struct platform_device *pdev)
 {
        struct net_device *dev;
        struct meth_private *priv;