From 300a23cba5e01c03f09efd00161c167bd32df85e Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Sat, 24 Nov 2012 20:46:02 +0400 Subject: phylib: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: drivers/net/phy/phy.c:57: warning: no previous prototype for ‘phy_device_create’ Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/phy/phy.c') 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; -- cgit v1.2.3