net: renesas: rswitch: Add host_interfaces setting
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 1 Feb 2023 13:14:52 +0000 (22:14 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2023 09:19:40 +0000 (09:19 +0000)
commit0df024d0f1d3e556e38e5418fc3577a2c7263764
treeb02a8aa6fc8055691b46f1ecdd09e2a733117095
parentc16a5033f77b9ee7e5317efe288e97159f32108b
net: renesas: rswitch: Add host_interfaces setting

Set phydev->host_interfaces before calling of_phy_connect() to
configure the PHY with the information of host_interfaces.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/rswitch.c