This serises is aimed to fix the function declaration of processor_idle.c.
And the modification idea of this series is from the link[1].
The patch fixed the warning reported by the kernel test robot in link[1]
has been applied in v2.
[1] https://lore.kernel.org/oe-kbuild-all/202508300519.tZQHY6HA-lkp@intel.com/
---
Changelog
v3:
- remove the merged patch which fixed the warning in link[1]
- add a separate patch to handle the "extern struct
cpuidle_driver acpi_idle_driver" in processor.h.
v2:
- split patch v1
https://patchwork.kernel.org/project/linux-acpi/cover/20250905081900.663869-1-lihuisong@huawei.com/
Huisong Li (3):
ACPI: processor: Remove unused empty function definition for
processor_idle.c
ACPI: processor: Unify the place of function declaration of
processor_idle.c
ACPI: processor: Do not expose the global acpi_idle_driver variable
drivers/acpi/processor_driver.c | 3 +--
drivers/acpi/processor_idle.c | 5 +++++
include/acpi/processor.h | 28 ++--------------------------
3 files changed, 8 insertions(+), 28 deletions(-)
--
2.33.0