Message ID | 20250211203314.762755-1-superm1@kernel.org (mailing list archive) |
---|---|
State | Queued |
Delegated to: | Rafael Wysocki |
Headers | show |
Series | ACPI: CPPC: Add missing include | expand |
On Tue, Feb 11, 2025 at 9:33 PM Mario Limonciello <superm1@kernel.org> wrote: > > From: Mario Limonciello <mario.limonciello@amd.com> > > Some minimial kernel configurations will fail with -Werror=implicit-function-declaration > due to a missing header include. > > Add that header. > > Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> > --- > arch/x86/kernel/acpi/cppc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c > index d68a4cb0168fa..77bfb846490c0 100644 > --- a/arch/x86/kernel/acpi/cppc.c > +++ b/arch/x86/kernel/acpi/cppc.c > @@ -4,6 +4,8 @@ > * Copyright (c) 2016, Intel Corporation. > */ > > +#include <linux/bitfield.h> > + > #include <acpi/cppc_acpi.h> > #include <asm/msr.h> > #include <asm/processor.h> > -- Applied as 6.15 material with "x86" added to the subject, thanks!
diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c index d68a4cb0168fa..77bfb846490c0 100644 --- a/arch/x86/kernel/acpi/cppc.c +++ b/arch/x86/kernel/acpi/cppc.c @@ -4,6 +4,8 @@ * Copyright (c) 2016, Intel Corporation. */ +#include <linux/bitfield.h> + #include <acpi/cppc_acpi.h> #include <asm/msr.h> #include <asm/processor.h>