common/board_r: Drop initr_bedbug wrapper
[oweals/u-boot.git] / common / miiphyutil.c
index 0a83d6463d6fd5d197d2bfcb0a9b79708541cb66..2db067876e4b8f58263ddf2ceca8209f0f5e207d 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2001
  * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -107,7 +106,7 @@ int mdio_register(struct mii_dev *bus)
        return 0;
 }
 
-int mdio_register_seq_name(struct mii_dev *bus, int seq)
+int mdio_register_seq(struct mii_dev *bus, int seq)
 {
        int ret;
 
@@ -178,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;