aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-05-31 00:51:25 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-06-10 13:34:05 +0200
commit495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92 (patch)
treea57eb5f64377db4553136b8786470e801525628c /drivers/net
parent83434e249f060ab4e1f57d6ec63c03d72eea50cf (diff)
downloadu-boot-495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92.zip
u-boot-495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92.tar.gz
u-boot-495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92.tar.bz2
net: phy: Unpublish phy_connect_dev()
The phy_connect_dev() is legacy API, now that there are no users, make it internal to phy.c and unpublish it from headers. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net')
-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 0eeb0cb..ae21acb 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);