[PATCH v4 0/1] ACPI: processor: Fix function declaration of processor_idle.c

From: Huisong Li

Date: Mon Sep 22 2025 - 03:03:58 EST


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].
Except for this patch, all other patches in this series have been merged.

[1] https://lore.kernel.org/oe-kbuild-all/202508300519.tZQHY6HA-lkp@xxxxxxxxx/

---
Changelog
v4:
- remove other patches merged.
- add static for global variable as Rafael suggested.

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.
https://patchwork.kernel.org/project/linux-acpi/cover/20250728070612.1260859-1-lihuisong@xxxxxxxxxx/
v2:
- split patch v1
https://patchwork.kernel.org/project/linux-acpi/cover/20250905081900.663869-1-lihuisong@xxxxxxxxxx/

Huisong Li (1):
ACPI: processor: Do not expose the global acpi_idle_driver variable

drivers/acpi/processor_driver.c | 3 +--
drivers/acpi/processor_idle.c | 12 +++++++++++-
include/acpi/processor.h | 1 -
3 files changed, 12 insertions(+), 4 deletions(-)

--
2.33.0