From 776b5abf3fa3b0052daa6d3f01b8e964a03a898c Mon Sep 17 00:00:00 2001 From: Pengpeng Hou Date: Tue, 22 Sep 2026 08:50:49 +0800 Subject: [PATCH] net: dsa: mv88e6060: publish the OF module alias 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. Cc: stable+noautosel@kernel.org # never worked Reviewed-by: Linus Walleij Signed-off-by: Pengpeng Hou Link: https://patch.msgid.link/20260922005049.7647-1-hppiscas@163.com Signed-off-by: Jakub Kicinski --- 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,