]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dsa: fix ports => ethernet-ports renaming 22242/head
authorBjørn Mork <bjorn@mork.no>
Mon, 2 Mar 2026 14:47:22 +0000 (15:47 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 2 Mar 2026 17:18:05 +0000 (18:18 +0100)
The "ports" node was renamed.  Update driver to match device-tree.

Cc: Markus Stockhausen <markus.stockhausen@gmx.de>
Fixes: 63729a8d6e87 ("realtek: dts: replace ports by ethernet-ports")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/22242
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c

index 23a37f2bcd755fb57520b0d5a81b8e12929400b1..ba2a0529635af7a19c95e803217be543a08e8752 100644 (file)
@@ -1332,7 +1332,7 @@ static int rtldsa_ethernet_loaded(struct platform_device *pdev)
        struct device_node *ports, *port;
        int ret = -EPROBE_DEFER;
 
-       ports = of_get_child_by_name(dn, "ports");
+       ports = of_get_child_by_name(dn, "ethernet-ports");
        if (!ports)
                return -ENODEV;