summaryrefslogtreecommitdiff
path: root/common/miiphyutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/miiphyutil.c')
-rw-r--r--common/miiphyutil.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c
index 8d89751122..2db067876e 100644
--- a/common/miiphyutil.c
+++ b/common/miiphyutil.c
@@ -177,6 +177,11 @@ struct mii_dev *mdio_get_current_dev(void)
return current_mii;
}
+struct list_head *mdio_get_list_head(void)
+{
+ return &mii_devs;
+}
+
struct phy_device *mdio_phydev_for_ethname(const char *ethname)
{
struct list_head *entry;