From 2efb147a0a3388c7e93b87ae86bf457fcff802b0 Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Sat, 26 Oct 2019 02:39:11 +0200 Subject: [PATCH] drivers: net: fsl_enetc: set phydev->node The saved ofnode is used by some PHY drivers to access the device tree node of the PHY. Signed-off-by: Michael Walle Reviewed-by: Alex Marginean Reviewed-by: Priyanka Jain --- drivers/net/fsl_enetc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index e7c5062c39..86b80c8941 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -248,6 +248,7 @@ static void enetc_start_phy(struct udevice *dev) supported = GENMASK(6, 0); /* speeds up to 1G & AN */ phy->advertising = phy->supported & supported; + phy->node = phy_node; phy_config(phy); phy_startup(phy); } -- 2.25.1