[PATCH] clk: mediatek: mt6735-imgsys: Publish the OF module alias

From: hpp.iscas

Date: Sat Sep 05 2026 - 09:33:47 EST


The MT6735 imgsys driver is a separately selectable tristate driver.
Its OF table is registered with the platform bus, but is not published
for module autoloading. Loading the main MT6735 clock driver does not
load the separate imgsys module.

Publish the existing OF match table.

Fixes: 0bd9b1211f74 ("clk: mediatek: Add drivers for MT6735 syscon clock and reset controllers")
Signed-off-by: hpp.iscas <hppiscas@xxxxxxx>
---
drivers/clk/mediatek/clk-mt6735-imgsys.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/mediatek/clk-mt6735-imgsys.c b/drivers/clk/mediatek/clk-mt6735-imgsys.c
index c564f8f..813241d 100644
--- a/drivers/clk/mediatek/clk-mt6735-imgsys.c
+++ b/drivers/clk/mediatek/clk-mt6735-imgsys.c
@@ -41,6 +41,7 @@ static const struct of_device_id of_match_mt6735_imgsys[] = {
{ .compatible = "mediatek,mt6735-imgsys", .data = &imgsys_clks },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, of_match_mt6735_imgsys);

static struct platform_driver clk_mt6735_imgsys = {
.probe = mtk_clk_simple_probe,