Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bea4968 authored by Felipe Balbi's avatar Felipe Balbi Committed by Kishon Vijay Abraham I
Browse files

phy: miphy365x: fix sparse warnings



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

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Acked-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 99db11c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;