Re: [PATCH 04/12] i3c: master: Support ACPI enumeration

From: Thierry Reding

Date: Wed Mar 25 2026 - 07:07:45 EST


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:
>
> ...
>
> >> #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

Attachment: signature.asc
Description: PGP signature