提交 5bea4968 编写于 作者: F Felipe Balbi 提交者: Kishon Vijay Abraham I

phy: miphy365x: fix sparse warnings

Add missing 'static' modifier so sparse
won't complain anymore.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Acked-by: NMaxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
上级 99db11c6
...@@ -441,8 +441,8 @@ static int miphy365x_init(struct phy *phy) ...@@ -441,8 +441,8 @@ static int miphy365x_init(struct phy *phy)
return ret; return ret;
} }
int miphy365x_get_addr(struct device *dev, struct miphy365x_phy *miphy_phy, static int miphy365x_get_addr(struct device *dev,
int index) struct miphy365x_phy *miphy_phy, int index)
{ {
struct device_node *phynode = miphy_phy->phy->dev.of_node; struct device_node *phynode = miphy_phy->phy->dev.of_node;
const char *name; const char *name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册