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:
parent
623836a418
commit
300a23cba5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue