summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-07-07 03:49:35 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-07 12:47:10 -0700
commit3970ed49a46bd0b062870edcc0894b2bd820371d (patch)
tree0ad7e828a9fbee2e4a6f0fbe83a65d2270832389 /drivers/net/phy
parent19c5a5fec30bde10d269a9f638566195016c90ed (diff)
downloadlinux-3970ed49a46bd0b062870edcc0894b2bd820371d.tar.gz
linux-3970ed49a46bd0b062870edcc0894b2bd820371d.tar.bz2
linux-3970ed49a46bd0b062870edcc0894b2bd820371d.zip
net: phy: Properly define genphy_c45_driver
Avoid the W=1 warning that symbol 'genphy_c45_driver' was not declared. Should it be static? Declare it on the phy header file. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/phy_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index eb1068a77ce1..98be28567c65 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -227,7 +227,6 @@ static void phy_mdio_device_remove(struct mdio_device *mdiodev)
}
static struct phy_driver genphy_driver;
-extern struct phy_driver genphy_c45_driver;
static LIST_HEAD(phy_fixup_list);
static DEFINE_MUTEX(phy_fixup_lock);