On Tue, Mar 24, 2026 at 10:52:15PM +0530, Akhil R wrote:
On Tue, 24 Mar 2026 09:43:27 +0100, Alexandre Belloni wrote:
...
quoted
quoted
#include <linux/acpi.h> is added in PATCH 03/12. The functions' prototypes
are present in acpi.h. I think the bot checked this patch individually,
or did I miss something?
#include <acpi/acpi_bus.h> is behind an #ifdef in acpi.h and your code
is not.
Thanks for pointing Alexandre and Guenter. I also noticed that we do not
have stub functions for a few of the acpi_* functions in #else.
Looks like I will have to guard calls to these functions under
#ifdef CONFIG_ACPI.
Alternatively it might make sense to add the stubs in a separate patch.
I don't know if they were purposefully left out or nobody's ever run
into the lack of these before.
Thierry