aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch')
-rw-r--r--target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch b/target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch
index 05e4ec8328..2cc541ae3c 100644
--- a/target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch
+++ b/target/linux/lantiq/patches-5.4/0701-NET-lantiq-etop-of-mido.patch
@@ -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);