--- zzzz-none-000/linux-4.4.60/drivers/of/of_mdio.c 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/drivers/of/of_mdio.c 2022-03-30 14:21:52.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) {