]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: eth-phy: staticize eth_phy_reset()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 30 May 2023 22:51:18 +0000 (00:51 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Jun 2023 11:34:04 +0000 (13:34 +0200)
The eth_phy_reset() is not used outside of this file, staticize it.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/eth-phy-uclass.c

index 27b77444a0c58fd2ece8c68f81820ebe8630f1c2..231bad6651415c6e746627c6a0ae5dae2f762ae3 100644 (file)
@@ -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;