phylib: do EXPORT_SYMBOL on get_phy_id
Subsystems (3)
PATCH 1/1 phylib: do EXPORT_SYMBOL on get_phy_id
Commit cac1f3c8 factored out the code for get_phy_id so that it could be reused in multiple places. Turns out that some of the users can be modular, so we need to export this symbol as well.
Signed-off-by Paul Gortmaker <[email protected]>
--- drivers/net/phy/phy_device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/phy/phy_device.c +1 -0
@@ -207,6 +207,7 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)return 0 ; } +EXPORT_SYMBOL (get_phy_id);/** * get_phy_device - reads the specified PHY device and returns its @phy_device struct
Signature · 1 line
1.5.4.rc4.gcab31
Jeff Garzik
AppliedQuoted 14 lines · Paul Gortmaker
Commit
cac1f3c8factored out the code forget_phy_idso that it could be reused in multiple places. Turns out that some of the users can be modular, so we need to export this symbol as well.Signed-off-by Paul Gortmaker <[email protected]>--- drivers/net/phy/phy_device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/phy/phy_device.c +0
-0
drivers/net/phy/phy_device.c int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id) · line 210
Quoted 4 lines
drivers/net/phy/phy_device.c +1
-0@@ -207,6 +207,7 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)return 0 ; } +EXPORT_SYMBOL (get_phy_id);
applied