summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-10-25 20:30:05 -0400
committerTom Rini <trini@konsulko.com>2018-10-25 20:30:05 -0400
commitf749b61821409772904b8fe7ab62909db82a7c83 (patch)
tree96da62bb1e49c8f718f29a89eda9784e8c7eb1be /common
parentcf033e04da315ba949e804c127abae0134bda30f (diff)
parent58ec4d3342f4ffd195f3f3f2e570f772500c6ecb (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'common')
-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;