summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-05-08 11:30:49 -0500
committerKishon Vijay Abraham I <kishon@ti.com>2015-05-11 21:42:26 +0530
commit5bea496820cdcb0f6711741ba663ccfe78ac4dbf (patch)
tree49b04212e8738c8e420577db48b96ba42d139ed7 /drivers/phy
parent99db11c6e8a89b236b283df0ec592aecdd00d8ef (diff)
downloadtalos-obmc-linux-5bea496820cdcb0f6711741ba663ccfe78ac4dbf.tar.gz
talos-obmc-linux-5bea496820cdcb0f6711741ba663ccfe78ac4dbf.zip
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>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-miphy365x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/phy-miphy365x.c b/drivers/phy/phy-miphy365x.c
index 019c2d75344e..ba6993da91fe 100644
--- a/drivers/phy/phy-miphy365x.c
+++ b/drivers/phy/phy-miphy365x.c
@@ -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;
OpenPOWER on IntegriCloud