mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 08:25:29 +00:00
ramips: refresh patches
Refresh ramips patches which got out of sync due to backported changes of the MediaTek Ethernet driver. Fixes: 6407ef8d2bcb ("kernel: backport upstream mediatek WED changes") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
b9bd3feeb4
commit
9291f6025f
@ -14,7 +14,7 @@ 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)
|
||||
{
|
||||
@ -22,7 +22,7 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user