lantiq: 4.19: fix panic when using the DMA API
[openwrt/staging/yousong.git] / target / linux / lantiq / patches-4.19 / 0701-NET-lantiq-etop-of-mido.patch
index d53d09c162f40fff5ae5f61a09307cde94689430..05e4ec8328fb75c298b61e5de41e96feec36a598 100644 (file)
@@ -8,7 +8,7 @@
  
  #include <asm/checksum.h>
  
-@@ -569,7 +570,8 @@ static int
+@@ -571,7 +572,8 @@ static int
  ltq_etop_mdio_init(struct net_device *dev)
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
@@ -18,7 +18,7 @@
  
        priv->mii_bus = mdiobus_alloc();
        if (!priv->mii_bus) {
-@@ -589,7 +591,15 @@ ltq_etop_mdio_init(struct net_device *de
+@@ -591,7 +593,15 @@ ltq_etop_mdio_init(struct net_device *de
        priv->mii_bus->name = "ltq_mii";
        snprintf(priv->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
                priv->pdev->name, priv->pdev->id);