Commit 1ec6e530 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e300769
...@@ -567,7 +567,8 @@ void phylink_destroy(struct phylink *pl) ...@@ -567,7 +567,8 @@ void phylink_destroy(struct phylink *pl)
} }
EXPORT_SYMBOL_GPL(phylink_destroy); 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; struct phylink *pl = phydev->phylink;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment