netdev: pass the stuck queue to the timeout handler
[linux-block.git] / drivers / net / ethernet / calxeda / xgmac.c
index af04a2c81adb08131ff0a7799f36113c34f8a685..05a3d067c3fc851c9cf6490638a9e2dd06ee2c88 100644 (file)
@@ -1251,7 +1251,7 @@ static int xgmac_poll(struct napi_struct *napi, int budget)
  *   netdev structure and arrange for the device to be reset to a sane state
  *   in order to transmit a new packet.
  */
-static void xgmac_tx_timeout(struct net_device *dev)
+static void xgmac_tx_timeout(struct net_device *dev, unsigned int txqueue)
 {
        struct xgmac_priv *priv = netdev_priv(dev);
        schedule_work(&priv->tx_timeout_work);