build/patch/kernel/mvebu-next/0009-phy-export-phy_start_machine-for-phylink.patch
zador-blood-stained baab6587a5 Refactor Marvell kernel sources
Rename LINUXFAMILY: marvell to mvebu
Replace default kernel with 4.4.x branch from dev configuration
2016-12-09 21:09:22 +03:00

31 lines
949 B
Diff

From: Russell King <rmk+kernel@arm.linux.org.uk>
Subject: [PATCH 09/30] phy: export phy_start_machine() for phylink
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
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.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
drivers/net/phy/phy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 150497246922..ec9953202f58 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -523,6 +523,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_stop_machine - stop the PHY state machine tracking
--
2.1.0