The MDIO driver matches marvell,mv88e6060 through its OF table, but the table is not exported. The existing platform alias does not supply the OF modalias used for this MDIO-enumerated device. Export the existing table so modular OF-based configurations can load the switch driver automatically. The issue was found by our static-analysis tool. Fixes: 277617603c02 ("net: dsa: mv88e6060: Support probing as an mdio device") Reviewed-by: Linus Walleij Assisted-by: gpt 5 Signed-off-by: Pengpeng Hou --- Changes since v1: - use the full author name as Jakub requested - rebase on net-next while preserving the one-line change reviewed by Linus Previous version: https://lore.kernel.org/all/20260905134131.66680-1-hppiscas@163.com/ drivers/net/dsa/mv88e6060.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/mv88e6060.c b/drivers/net/dsa/mv88e6060.c index 64bf3d759d17..3bb485a90429 100644 --- a/drivers/net/dsa/mv88e6060.c +++ b/drivers/net/dsa/mv88e6060.c @@ -364,6 +364,7 @@ static const struct of_device_id mv88e6060_of_match[] = { }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, mv88e6060_of_match); static struct mdio_driver mv88e6060_driver = { .probe = mv88e6060_probe, base-commit: c7a2a8c0c9ef480849d655273101dcd0c5067e6a -- 2.50.1 (Apple Git-155)