Re: [PATCH] net: phy: Tell caller result of phy_change()

From: Andrew Lunn
Date: Thu Mar 08 2018 - 15:47:31 EST


> +++ b/drivers/net/phy/phy.c
> @@ -617,6 +617,8 @@ static void phy_error(struct phy_device *phydev)
> phy_trigger_machine(phydev, false);
> }
>
> +static irqreturn_t phy_change(struct phy_device *phydev);
> +

Hi Brad

Rather than add a forward declaration, please move phy_change().

Thanks
Andrew