aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-06-10 14:08:00 -0400
committerTom Rini <trini@konsulko.com>2023-06-10 14:08:00 -0400
commit5b589e139620214f26eb83c9fb7bbd62b5f8fc1d (patch)
tree148aefb39e8e2dac86b475ef4b9e77c26760ef9f /drivers/net/phy/phy.c
parentcc5a94092317dfd275d18fdcf5884d5d4e4f2c09 (diff)
parent32d2461e0467b50abeb5662fce41fdd686e88b61 (diff)
Merge branch 'next_net/phy_connect_dev' of https://source.denx.de/u-boot/custodians/u-boot-sh into next
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 0eeb0cb3a8..ae21acb059 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -812,8 +812,8 @@ struct phy_device *phy_find_by_mask(struct mii_dev *bus, uint phy_mask)
return get_phy_device_by_mask(bus, phy_mask);
}
-void phy_connect_dev(struct phy_device *phydev, struct udevice *dev,
- phy_interface_t interface)
+static void phy_connect_dev(struct phy_device *phydev, struct udevice *dev,
+ phy_interface_t interface)
{
/* Soft Reset the PHY */
phy_reset(phydev);