[PATCH] net: phy: genphy_init can be static

Ramon Fried rfried.dev at gmail.com
Tue Sep 28 15:28:14 CEST 2021


On Sat, Sep 18, 2021 at 3:09 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Sat, Sep 18, 2021 at 7:55 PM Vladimir Oltean <vladimir.oltean at nxp.com> wrote:
> >
> > To avoid a warning with W=1 about this function not having a previous
> > prototype, declare it as static, because it is not used outside of this
> > translation module.
> >
> > Signed-off-by: Vladimir Oltean <vladimir.oltean at nxp.com>
> > ---
> >  drivers/net/phy/phy.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list