summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-05-31 00:51:18 +0200
committerMarek Vasut <[email protected]>2023-06-10 13:34:04 +0200
commit06173ef643c0c17124154598f9ffeea0c62eb627 (patch)
treea6edd13d9ed106676cbaca1b17480b1d0f55250c /drivers
parent5f41ef792c307dedc12647cdde2ade273aa11805 (diff)
net: eth-phy: staticize eth_phy_reset()
The eth_phy_reset() is not used outside of this file, staticize it. No functional change. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/eth-phy-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c
index 27b77444a0c..231bad66514 100644
--- a/drivers/net/eth-phy-uclass.c
+++ b/drivers/net/eth-phy-uclass.c
@@ -147,7 +147,7 @@ static int eth_phy_of_to_plat(struct udevice *dev)
return 0;
}
-void eth_phy_reset(struct udevice *dev, int value)
+static void eth_phy_reset(struct udevice *dev, int value)
{
struct eth_phy_device_priv *uc_priv = dev_get_uclass_priv(dev);
u32 delay;