Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sparx5/lan969x: populate netdev of_node

Populate of_node for the port netdevs, to make the individual ports
of_nodes available in sysfs.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Link: https://patch.msgid.link/20251110124342.199216-1-robert.marko@sartura.hr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Robert Marko and committed by
Jakub Kicinski
fc6aa0e4 458ea87a

+2
+2
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
··· 395 395 396 396 spx5_port->phylink = phylink; 397 397 398 + spx5_port->ndev->dev.of_node = spx5_port->of_node; 399 + 398 400 return 0; 399 401 } 400 402