It should be a typing error ('-' instead of '_'), as no mdio-bus.c but just mdio_bus.c exists.
Just find it when inspecting these code. Tried to compile to test, but failed to construct an applicable .config file for that. Maybe someone can do that more skillfully, glad to know how. Signed-off-by: Zhi Han <z....@gmx.net> --- drivers/net/phy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index a13e402074cf..0840e9055b5a 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -15,7 +15,7 @@ endif ifdef CONFIG_PHYLIB libphy-y += $(mdio-bus-y) else -obj-$(CONFIG_MDIO_DEVICE) += mdio-bus.o +obj-$(CONFIG_MDIO_DEVICE) += mdio_bus.o endif obj-$(CONFIG_MDIO_DEVRES) += mdio_devres.o libphy-$(CONFIG_SWPHY) += swphy.o -- 2.25.1