From: Heiner Kallweit <hkallwe...@gmail.com> Date: Mon, 24 Sep 2018 23:36:50 +0200
> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c > index a1f8e4816..40a7dc101 100644 > --- a/drivers/net/phy/phy.c > +++ b/drivers/net/phy/phy.c ... > @@ -635,6 +635,13 @@ int phy_speed_up(struct phy_device *phydev) > } > EXPORT_SYMBOL_GPL(phy_speed_up); > > +static inline void phy_queue_state_machine(struct phy_device *phydev, > + unsigned int secs) > +{ Please do not use the inline keyword in foo.c files, let the compiler decide.