diff options
Diffstat (limited to 'target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch')
-rw-r--r-- | target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch b/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch index c32c16a908..8f4a2d9848 100644 --- a/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch +++ b/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch @@ -22,9 +22,9 @@ 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; -@@ -3006,6 +3007,9 @@ static int mtk_add_mac(struct mtk_eth *e - - eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN; +@@ -3008,6 +3009,9 @@ static int mtk_add_mac(struct mtk_eth *e + + of_platform_device_create(np, NULL, NULL); + if (name) + strlcpy(eth->netdev[id]->name, name, IFNAMSIZ); |