phylink: make local function phylink_phy_change() static
Fixes the following sparse warnings: drivers/net/phy/phylink.c:570:6: warning: symbol 'phylink_phy_change' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
6e300769dc
Коммит
1ec6e53029
|
@ -567,7 +567,8 @@ void phylink_destroy(struct phylink *pl)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(phylink_destroy);
|
||||
|
||||
void phylink_phy_change(struct phy_device *phydev, bool up, bool do_carrier)
|
||||
static void phylink_phy_change(struct phy_device *phydev, bool up,
|
||||
bool do_carrier)
|
||||
{
|
||||
struct phylink *pl = phydev->phylink;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче