Re: [PATCH v2] clk: mediatek: mt7988-apmixed: publish the OF module alias

From: AngeloGioacchino Del Regno

Date: Mon Sep 21 2026 - 07:05:57 EST


On 9/20/26 05:38, Pengpeng Hou wrote:
COMMON_CLK_MT7988 permits a module build, and the apmixed driver matches
mediatek,mt7988-apmixedsys through its OF table. The table is not
exported, so the module does not publish the corresponding autoload
alias.

Add MODULE_DEVICE_TABLE() for that existing table.

The issue was found by our static-analysis tool.

Fixes: 4b4719437d85 ("clk: mediatek: add drivers for MT7988 SoC")
Reviewed-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>