Skip to content

Commit

Permalink
phy: miphy365x: fix sparse warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi authored and Kishon Vijay Abraham I committed May 11, 2015
1 parent 99db11c commit 5bea496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/phy/phy-miphy365x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5bea496

Please sign in to comment.