Re: [PATCH v4] platform/x86/fujitsu-laptop: Add battery charge control support

From: Szilard Fabian
Date: Tue Feb 27 2024 - 07:05:07 EST


On Tue, Feb 27, 2024 at 11:18:16AM +0100, Ilpo Järvinen wrote:
> Hi,
>
> Can you please take a look at the two build failures LKP has brought up.
> They looked like some depends on and/or select clauses missing from
> Kconfig.
Hi,

Modifying drivers/platform/x86/Kconfig to include `depends on ACPI_BATTERY`
in the FUJITSU_LAPTOP config block fixes the problem with gcc. I think this
should fix the problem with clang too.

I'll post v5 with that change in a moment.

Regards,
Szilard