Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Felipe Balbi and committed by
Kishon Vijay Abraham I
5bea4968 99db11c6

+2 -2
+2 -2
drivers/phy/phy-miphy365x.c
··· 441 441 return ret; 442 442 } 443 443 444 - int miphy365x_get_addr(struct device *dev, struct miphy365x_phy *miphy_phy, 445 - int index) 444 + static int miphy365x_get_addr(struct device *dev, 445 + struct miphy365x_phy *miphy_phy, int index) 446 446 { 447 447 struct device_node *phynode = miphy_phy->phy->dev.of_node; 448 448 const char *name;