summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2017-07-25 17:03:03 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-07 06:55:28 +0300
commit5e5758d9d84256d55da831e940276c3216997f3e (patch)
tree63209a041b27ccaa8045c3744b615cc9bb8667c4
parenta81497bee70eb15039594b3116913133aa9c9b29 (diff)
downloadlinux-5e5758d9d84256d55da831e940276c3216997f3e.tar.xz
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>
-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