Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: mediatek: mt6735-mfgcfg: Publish the OF module alias
@ 2026-09-05 13:33 hpp.iscas
  0 siblings, 0 replies; only message in thread
From: hpp.iscas @ 2026-09-05 13:33 UTC (permalink / raw)
  To: Yassine Oudjana
  Cc: hpp.iscas, Stephen Boyd, Brian Masney, Jerome Brunet,
	Matthias Brugger, AngeloGioacchino Del Regno, linux-clk,
	linux-mediatek, linux-kernel, linux-arm-kernel

The MT6735 mfgcfg driver is built as an independent module when its
tristate option is m. Its platform-driver match table is not published
for OF modalias matching.

Publish the existing table while retaining the clock and reset setup.

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

diff --git a/drivers/clk/mediatek/clk-mt6735-mfgcfg.c b/drivers/clk/mediatek/clk-mt6735-mfgcfg.c
index 1f5aedd..8a18ee2 100644
--- a/drivers/clk/mediatek/clk-mt6735-mfgcfg.c
+++ b/drivers/clk/mediatek/clk-mt6735-mfgcfg.c
@@ -45,6 +45,7 @@ static const struct of_device_id of_match_mt6735_mfgcfg[] = {
 	{ .compatible = "mediatek,mt6735-mfgcfg", .data = &mfgcfg_clks },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, of_match_mt6735_mfgcfg);
 
 static struct platform_driver clk_mt6735_mfgcfg = {
 	.probe = mtk_clk_simple_probe,



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-05 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:33 [PATCH] clk: mediatek: mt6735-mfgcfg: Publish the OF module alias hpp.iscas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox