diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2012-11-24 20:46:02 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-26 09:06:57 +0100 |
commit | 300a23cba5e01c03f09efd00161c167bd32df85e (patch) | |
tree | 82c9e53ee165c31940464a44662f26804486472b /drivers | |
parent | 623836a418cbda9a5072f752380990516e816e40 (diff) | |
download | barebox-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')
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
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; |