[PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias

From: hpp.iscas

Date: Sat Sep 05 2026 - 09:36:16 EST


COMMON_CLK_MT7988 is tristate and builds apmixed as a separate object.
The apmixed platform driver has an OF match table but exports no OF
alias, so that table cannot be used to select the module on a device
event.

Publish the table. Keep the existing initialization entry point.

Fixes: 4b4719437d85 ("clk: mediatek: add drivers for MT7988 SoC")
Signed-off-by: hpp.iscas <hppiscas@xxxxxxx>
---
drivers/clk/mediatek/clk-mt7988-apmixed.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/mediatek/clk-mt7988-apmixed.c b/drivers/clk/mediatek/clk-mt7988-apmixed.c
index 416a4b8..24f4e7b 100644
--- a/drivers/clk/mediatek/clk-mt7988-apmixed.c
+++ b/drivers/clk/mediatek/clk-mt7988-apmixed.c
@@ -75,6 +75,7 @@ static const struct of_device_id of_match_clk_mt7988_apmixed[] = {
{ .compatible = "mediatek,mt7988-apmixedsys" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, of_match_clk_mt7988_apmixed);

static int clk_mt7988_apmixed_probe(struct platform_device *pdev)
{