On Wed, May 31, 2023 at 1:51 AM Marek Vasut
<marek.vasut+rene...@mailbox.org> wrote:
>
> The eth_phy_reset() is not used outside of this file, staticize it.
> No functional change.
>
> Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org>
> ---
> Cc: Geert Uytterhoeven <geert+rene...@glider.be>
> Cc: Joe Hershberger <joe.hershber...@ni.com>
> Cc: Michal Simek <michal.si...@amd.com>
> Cc: Nishanth Menon <n...@ti.com>
> Cc: Ramon Fried <rfried....@gmail.com>
> ---
> drivers/net/eth-phy-uclass.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 2.39.2
>
Reviewed-by: Ramon Fried <rfried....@gmail.com>