Skip to content

Commit

Permalink
ramips: refresh patches
Browse files Browse the repository at this point in the history
Refresh ramips patches which got out of sync due to backported changes
of the MediaTek Ethernet driver.

Fixes: 6407ef8 ("kernel: backport upstream mediatek WED changes")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Dec 8, 2023
1 parent b9bd3fe commit 9291f60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>

--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -4557,6 +4557,7 @@ static const struct net_device_ops mtk_n
@@ -4558,6 +4558,7 @@ static const struct net_device_ops mtk_n

static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
{
+ const char *name = of_get_property(np, "label", NULL);
const __be32 *_id = of_get_property(np, "reg", NULL);
phy_interface_t phy_mode;
struct phylink *phylink;
@@ -4728,6 +4729,9 @@ static int mtk_add_mac(struct mtk_eth *e
@@ -4729,6 +4730,9 @@ static int mtk_add_mac(struct mtk_eth *e
register_netdevice_notifier(&mac->device_notifier);
}

Expand Down

0 comments on commit 9291f60

Please sign in to comment.