summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2012-11-24 20:46:02 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-26 09:06:57 +0100
commit300a23cba5e01c03f09efd00161c167bd32df85e (patch)
tree82c9e53ee165c31940464a44662f26804486472b /drivers/net/phy/phy.c
parent623836a418cbda9a5072f752380990516e816e40 (diff)
downloadbarebox-300a23cba5e01c03f09efd00161c167bd32df85e.tar.gz
barebox-300a23cba5e01c03f09efd00161c167bd32df85e.tar.xz
phylib: fix compiler warning
fixes: drivers/net/phy/phy.c:57: warning: no previous prototype for ‘phy_device_create’ Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 4478d9f5de..62ff2d9d13 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -53,7 +53,7 @@ int phy_update_status(struct phy_device *dev)
return 0;
}
-struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id)
+static struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id)
{
struct phy_device *dev;