9
0
Fork 0

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>
This commit is contained in:
Antony Pavlov 2012-11-24 20:46:02 +04:00 committed by Sascha Hauer
parent 623836a418
commit 300a23cba5
1 changed files with 1 additions and 1 deletions

View File

@ -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;