Please refer to resent series at 
https://lists.denx.de/pipermail/u-boot/2025-September/598941.html

> On 23 Sep 2025, at 3:20 AM, Beiyan Yun <[email protected]> wrote:
> 
> Use PHY API phy_get_ofnode() helper to get PHY DT node.
> 
> Signed-off-by: Beiyan Yun <[email protected]>
> ---
> 
> drivers/net/phy/aquantia.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
> index f63a13824ca..903fcd667f6 100644
> --- a/drivers/net/phy/aquantia.c
> +++ b/drivers/net/phy/aquantia.c
> @@ -338,7 +338,7 @@ static int aquantia_set_proto(struct phy_device *phydev,
> 
> static int aquantia_dts_config(struct phy_device *phydev)
> {
> -     ofnode node = phydev->node;
> +     ofnode node = phy_get_ofnode(phydev);
>       u32 prop;
>       u16 reg;
> 
> -- 
> 2.47.3
> 

Reply via email to