[PATCH] net: phy: genphy_init can be static
Bin Meng
bmeng.cn at gmail.com
Sat Sep 18 14:09:28 CEST 2021
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>
More information about the U-Boot
mailing list