Re: [RFC net-next PATCH v2 1/2] net/fsl: add ACPI support for mdio bus

From: Andrew Lunn
Date: Sat Apr 18 2020 - 10:46:18 EST


> - ret = of_mdiobus_register(bus, np);

So this is the interesting part. What you really want to be doing is
adding a device_mdiobus_register(bus, dev) to the core. And it needs
to share as much as possible with the of_mdiobus_register()
implementation.

Andrew