* [PATCH] PHY: Export phy ethtool helpers
@ 2007-01-20 22:38 Kumar Gala
2007-01-23 5:51 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2007-01-20 22:38 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev
We need to export phy_ethtool_gset and phy_ethtool_sset to allow drivers that
use these functions to be built as modules.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
commit 7fff6ffb83f2543299df3ed8815976440abdd576
tree 0eea7a64a684a3d3970cec9a8c9c65ee2839ebfc
parent a8b3485287731978899ced11f24628c927890e78
author Kumar Gala <galak@kernel.crashing.org> Sat, 20 Jan 2007 16:28:13 -0600
committer Kumar Gala <galak@kernel.crashing.org> Sat, 20 Jan 2007 16:28:13 -0600
drivers/net/phy/phy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index e175f39..868400d 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -286,6 +286,7 @@ int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd)
return 0;
}
+EXPORT_SYMBOL(phy_ethtool_sset);
int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd)
{
@@ -302,6 +303,7 @@ int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd)
return 0;
}
+EXPORT_SYMBOL(phy_ethtool_gset);
/* Note that this function is currently incompatible with the
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-23 5:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20 22:38 [PATCH] PHY: Export phy ethtool helpers Kumar Gala
2007-01-23 5:51 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).