summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorDaniel Mack2014-04-16 17:19:12 +0200
committerDavid S. Miller2014-04-21 00:18:54 +0200
commitaf6b6967d6e17fe070c0fd1be364c34cbd31a523 (patch)
treef672f71b1951ac33a7736522749779e848acedb5 /drivers/net/phy/phy_device.c
parentMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-qcow2-linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.tar.gz
kernel-qcow2-linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.tar.xz
kernel-qcow2-linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.zip
net: phy: export genphy_config_init()
This enables other drivers to call this generic implementation, and then only do specific details on top of it. Signed-off-by: Daniel Mack <zonque@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r--drivers/net/phy/phy_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 0ce606624296..466ae3e06322 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -1067,7 +1067,7 @@ int genphy_soft_reset(struct phy_device *phydev)
}
EXPORT_SYMBOL(genphy_soft_reset);
-static int genphy_config_init(struct phy_device *phydev)
+int genphy_config_init(struct phy_device *phydev)
{
int val;
u32 features;
@@ -1118,6 +1118,7 @@ static int gen10g_soft_reset(struct phy_device *phydev)
/* Do nothing for now */
return 0;
}
+EXPORT_SYMBOL(genphy_config_init);
static int gen10g_config_init(struct phy_device *phydev)
{