--- zzzz-none-000/linux-4.4.271/drivers/of/of_mdio.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/of/of_mdio.c 2023-04-19 10:22:29.000000000 +0000 @@ -41,7 +41,7 @@ return -EINVAL; } -static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, +int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, u32 addr) { struct phy_device *phy; @@ -91,6 +91,7 @@ return 0; } +EXPORT_SYMBOL(of_mdiobus_register_phy); int of_mdio_parse_addr(struct device *dev, const struct device_node *np) {