mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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>
This commit is contained in:
parent
458ea87a6b
commit
fc6aa0e470
|
|
@ -395,6 +395,8 @@ static int sparx5_create_port(struct sparx5 *sparx5,
|
|||
|
||||
spx5_port->phylink = phylink;
|
||||
|
||||
spx5_port->ndev->dev.of_node = spx5_port->of_node;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user