diff options
| author | Huisong Li <lihuisong@huawei.com> | 2025-09-23 11:24:28 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-23 15:33:19 +0200 |
| commit | 559f2eacc8a23c7f44daac09d4f3efd958d497f2 (patch) | |
| tree | 020ae78bb03f1d3cccf710ef3f9c3be65a9b8ea7 /include/acpi/processor.h | |
| parent | fbd401e95e569ad0307e4301012f2d8e1ec1ee98 (diff) | |
| download | linux-559f2eacc8a23c7f44daac09d4f3efd958d497f2.tar.gz linux-559f2eacc8a23c7f44daac09d4f3efd958d497f2.tar.bz2 linux-559f2eacc8a23c7f44daac09d4f3efd958d497f2.zip | |
ACPI: processor: Do not expose global variable acpi_idle_driver
Move the cpuidle driver check from __acpi_processor_start() to
acpi_processor_power_init() which allows variable acpi_idle_driver to
become static.
No intentional functional impact.
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Link: https://patch.msgid.link/20250923032428.2656329-2-lihuisong@huawei.com
[ rjw: Subject tweak, new changelog, adjustment of a new comment ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/processor.h')
| -rw-r--r-- | include/acpi/processor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 24fdaa3c2899..7146a8e9e9c2 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -417,7 +417,6 @@ static inline void acpi_processor_throttling_init(void) {} #endif /* CONFIG_ACPI_CPU_FREQ_PSS */ /* in processor_idle.c */ -extern struct cpuidle_driver acpi_idle_driver; #ifdef CONFIG_ACPI_PROCESSOR_IDLE void acpi_processor_power_init(struct acpi_processor *pr); void acpi_processor_power_exit(struct acpi_processor *pr); |
