Re: [PATCH] clk: mediatek: mt7988-apmixed: Publish the OF module alias
From: Daniel Golle
Date: Sat Sep 05 2026 - 16:48:06 EST
On Sat, Sep 05, 2026 at 09:34:17PM +0800, hpp.iscas wrote:
> 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>
Not sure if this Signed-off-by:-line is ok like that, do I understand
correctly that 163.com is a freemail provider?
Other than that
Reviewed-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> ---
> 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)
> {
>
>