Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / common / miiphyutil.c
index 8d89751122b4bbc20888d9a8fb5d3df2e53e0bff..2db067876e4b8f58263ddf2ceca8209f0f5e207d 100644 (file)
@@ -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;