lantiq: add Linux 5.4 support as testing kernel version
[openwrt/staging/dedeckeh.git] / target / linux / lantiq / patches-5.4 / 0701-NET-lantiq-etop-of-mido.patch
index 05e4ec8328fb75c298b61e5de41e96feec36a598..2cc541ae3cf9c98f988ee060eb0087ef1a4f82b2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -40,6 +40,7 @@
+@@ -30,6 +30,7 @@
  #include <linux/of_net.h>
  #include <linux/of_irq.h>
  #include <linux/of_platform.h>
@@ -8,7 +8,7 @@
  
  #include <asm/checksum.h>
  
-@@ -571,7 +572,8 @@ static int
+@@ -553,7 +554,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) {
-@@ -591,7 +593,15 @@ ltq_etop_mdio_init(struct net_device *de
+@@ -573,7 +575,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);