Skip to content

Commit 3207627

Browse files
bmorkrobimarko
authored andcommitted
realtek: dsa: fix ports => ethernet-ports renaming
The "ports" node was renamed. Update driver to match device-tree. Cc: Markus Stockhausen <markus.stockhausen@gmx.de> Fixes: 63729a8 ("realtek: dts: replace ports by ethernet-ports") Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: openwrt#22242 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent b897db9 commit 3207627

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx

target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ static int rtldsa_ethernet_loaded(struct platform_device *pdev)
13321332
struct device_node *ports, *port;
13331333
int ret = -EPROBE_DEFER;
13341334

1335-
ports = of_get_child_by_name(dn, "ports");
1335+
ports = of_get_child_by_name(dn, "ethernet-ports");
13361336
if (!ports)
13371337
return -ENODEV;
13381338

0 commit comments

Comments
 (0)