127-phy-export-phy_start_machine-for-phylink.patch 874 B

12345678910111213141516171819202122232425
  1. From f2a9687b39cda3fb67ecd5eaa88e3545e78c982c Mon Sep 17 00:00:00 2001
  2. From: Russell King <rmk+kernel@arm.linux.org.uk>
  3. Date: Fri, 16 Oct 2015 12:18:41 +0100
  4. Subject: [PATCH 715/744] phy: export phy_start_machine() for phylink
  5. phylink will need phy_start_machine exported, so lets export it as a
  6. GPL symbol. Documentation/networking/phy.txt indicates that this
  7. should be a PHY API function.
  8. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
  9. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  10. ---
  11. drivers/net/phy/phy.c | 1 +
  12. 1 file changed, 1 insertion(+)
  13. --- a/drivers/net/phy/phy.c
  14. +++ b/drivers/net/phy/phy.c
  15. @@ -574,6 +574,7 @@ void phy_start_machine(struct phy_device
  16. {
  17. queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, HZ);
  18. }
  19. +EXPORT_SYMBOL_GPL(phy_start_machine);
  20. /**
  21. * phy_stop_machine - stop the PHY state machine tracking