Re: [PATCH v6 1/3] cpufreq: Export disable_cpufreq()
From: Rafael J. Wysocki
Date: Wed Jul 09 2025 - 03:19:58 EST
On Mon, Jul 7, 2025 at 11:17 PM Aaron Kling via B4 Relay
<devnull+webgeek1234.gmail.com@xxxxxxxxxx> wrote:
>
> From: Aaron Kling <webgeek1234@xxxxxxxxx>
>
> This is used by the tegra124-cpufreq driver.
>
> Signed-off-by: Aaron Kling <webgeek1234@xxxxxxxxx>
> ---
> drivers/cpufreq/cpufreq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> index 0cf5a320bb5e864709b259249fb1af8bfbc0b04b..78cddc78ee98630f99ccc332c64c94f437297177 100644
> --- a/drivers/cpufreq/cpufreq.c
> +++ b/drivers/cpufreq/cpufreq.c
> @@ -109,6 +109,7 @@ void disable_cpufreq(void)
> {
> off = 1;
> }
> +EXPORT_SYMBOL_GPL(disable_cpufreq);
Please add an empty line here.
With that, feel free to add
Acked-by: Rafael J. Wysocki <rafael@xxxxxxxxxx>
to this patch.
> static DEFINE_MUTEX(cpufreq_governor_mutex);
>
> bool have_governor_per_policy(void)
>
> --