Re: [PATCH] cpufreq: fix using cpufreq-dt as module

From: Kevin Hilman
Date: Mon Nov 04 2024 - 13:35:39 EST


Andreas Kemnade <andreas@xxxxxxxxxxxx> writes:

> E.g. omap2plus_defconfig compiles cpufreq-dt as module. As there is no
> module alias nor a module_init(), cpufreq-dt-platdev will not be used and
> therefore on several omap platforms there is no cpufreq.
>
> Enforce builtin compile of cpufreq-dt-platdev to make it effective.
>
> Fixes: 3b062a086984 ("cpufreq: dt-platdev: Support building as module")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>

I'd much rather see this fixed to work as a module. You already hinted
at the right way to do that, so please do that instead.

Kevin