--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -4010,19 +4010,23 @@ static int mtk_probe(struct platform_dev
+@@ -4011,19 +4011,23 @@ static int mtk_probe(struct platform_dev
eth->irq[i] = platform_get_irq(pdev, i);
if (eth->irq[i] < 0) {
dev_err(&pdev->dev, "no IRQ%d resource found\n", i);
}
eth->clks[i] = NULL;
}
-@@ -4033,7 +4037,7 @@ static int mtk_probe(struct platform_dev
+@@ -4034,7 +4038,7 @@ static int mtk_probe(struct platform_dev
err = mtk_hw_init(eth);
if (err)
eth->hwlro = MTK_HAS_CAPS(eth->soc->caps, MTK_HWLRO);
-@@ -4131,6 +4135,8 @@ err_free_dev:
+@@ -4132,6 +4136,8 @@ err_free_dev:
mtk_free_dev(eth);
err_deinit_hw:
mtk_hw_deinit(eth);
return err;
}
-@@ -4150,6 +4156,7 @@ static int mtk_remove(struct platform_de
+@@ -4151,6 +4157,7 @@ static int mtk_remove(struct platform_de
phylink_disconnect_phy(mac->phylink);
}