phy: miphy365x: fix sparse warnings

Add missing 'static' modifier so sparse
won't complain anymore.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
Felipe Balbi 2015-05-08 11:30:49 -05:00 коммит произвёл Kishon Vijay Abraham I
Родитель 99db11c6e8
Коммит 5bea496820
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -441,8 +441,8 @@ static int miphy365x_init(struct phy *phy)
return ret;
}
int miphy365x_get_addr(struct device *dev, struct miphy365x_phy *miphy_phy,
int index)
static int miphy365x_get_addr(struct device *dev,
struct miphy365x_phy *miphy_phy, int index)
{
struct device_node *phynode = miphy_phy->phy->dev.of_node;
const char *name;