Skip to content

Commit 5e5758d

Browse files
Russell Kingdavem330
authored andcommitted
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>
1 parent a81497b commit 5e5758d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/phy/phy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ void phy_start_machine(struct phy_device *phydev)
556556
{
557557
queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, HZ);
558558
}
559+
EXPORT_SYMBOL_GPL(phy_start_machine);
559560

560561
/**
561562
* phy_trigger_machine - trigger the state machine to run

0 commit comments

Comments
 (0)