On Thu, Sep 11, 2025 at 1:24 PM Huisong Li <lihuisong@huawei.com> wrote:
>
> To unify the place of function declaration of processor_idle.c, move
> acpi_processor_ffh_lpi_probe and acpi_processor_ffh_lpi_enter to one
> place. And remove 'extern' key word in declaration by the way.
>
> Signed-off-by: Huisong Li <lihuisong@huawei.com>
> ---
> include/acpi/processor.h | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/include/acpi/processor.h b/include/acpi/processor.h
> index 2976a6d0c54f..6ee4a69412de 100644
> --- a/include/acpi/processor.h
> +++ b/include/acpi/processor.h
> @@ -425,6 +425,8 @@ int acpi_processor_power_state_has_changed(struct acpi_processor *pr);
> int acpi_processor_hotplug(struct acpi_processor *pr);
> void acpi_processor_register_idle_driver(void);
> void acpi_processor_unregister_idle_driver(void);
> +int acpi_processor_ffh_lpi_probe(unsigned int cpu);
> +int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi);
> #endif /* CONFIG_ACPI_PROCESSOR_IDLE */
>
> /* in processor_thermal.c */
> @@ -447,11 +449,6 @@ static inline void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy)
> }
> #endif /* CONFIG_CPU_FREQ */
>
> -#ifdef CONFIG_ACPI_PROCESSOR_IDLE
> -extern int acpi_processor_ffh_lpi_probe(unsigned int cpu);
> -extern int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi);
> -#endif
> -
> void acpi_processor_init_invariance_cppc(void);
>
> #endif
> --
Applied as 6.18 material under a new subject and with a new changelog, thanks!