aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2017-07-25 15:03:03 +0100
committerDavid S. Miller <davem@davemloft.net>2017-08-06 20:55:28 -0700
commit5e5758d9d84256d55da831e940276c3216997f3e (patch)
tree63209a041b27ccaa8045c3744b615cc9bb8667c4 /drivers/net/phy/phy.c
parentnet: phy: provide a hook for link up/link down events (diff)
downloadlinux-dev-5e5758d9d84256d55da831e940276c3216997f3e.tar.xz
linux-dev-5e5758d9d84256d55da831e940276c3216997f3e.zip
net: phy: export phy_start_machine() for phylink
phylink will need phy_start_machine exported, so lets export it as a GPL symbol. Documentation/networking/phy.txt indicates that this should be a PHY API function. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/phy/phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index d5f2af2c5ddb..dae13f028c84 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -556,6 +556,7 @@ void phy_start_machine(struct phy_device *phydev)
{
queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, HZ);
}
+EXPORT_SYMBOL_GPL(phy_start_machine);
/**
* phy_trigger_machine - trigger the state machine to run