Skip to contentSkip to conversation

phylib: do EXPORT_SYMBOL on get_phy_id

PATCH Applied Paul Gortmaker 2 participants 2 messages May 22, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/phy/phy_device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/phy/phy_device.c +1 -0
index ac3c01d..16a0e7d 100644
@@ -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
Applied
#1 lore raw
Quoted 14 lines · Paul Gortmaker

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.

---
 drivers/net/phy/phy_device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/phy/phy_device.c +0 -0
index ac3c01d..16a0e7d 100644

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