From 4a9ed707c80543f4dd4a586f2d4131e3d4f468e7 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 5 Dec 2023 22:09:14 +0100 Subject: acpi: add missing device/device.h include The device/device.h provides the definition for struct device used in those files, so include this header file to make sure that it's not only included indirectly via some other header file. Signed-off-by: Felix Held Change-Id: I6ff7cdbf0f53ada92adb53cf268e5feee9df4629 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79401 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/acpi/acpi.c | 1 + src/acpi/acpi_apic.c | 1 + src/acpi/acpi_gic.c | 1 + src/acpi/acpi_hpet.c | 1 + src/acpi/acpigen_usb.c | 1 + 5 files changed, 5 insertions(+) diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index f9e9162545..db9c31646d 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/src/acpi/acpi_apic.c b/src/acpi/acpi_apic.c index f952d0a104..d6937fcaf7 100644 --- a/src/acpi/acpi_apic.c +++ b/src/acpi/acpi_apic.c @@ -5,6 +5,7 @@ #include #include #include +#include static int acpi_create_madt_lapic(acpi_madt_lapic_t *lapic, u8 cpu, u8 apic) { diff --git a/src/acpi/acpi_gic.c b/src/acpi/acpi_gic.c index 13e5a50a7d..589832793d 100644 --- a/src/acpi/acpi_gic.c +++ b/src/acpi/acpi_gic.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include static int acpi_create_madt_one_gicc_v3(acpi_madt_gicc_t *gicc, u32 acpi_uid, u32 pi_gsiv, uint32_t vgic_mi, uint64_t mpidr) diff --git a/src/acpi/acpi_hpet.c b/src/acpi/acpi_hpet.c index 9f91829f5a..fbf852941f 100644 --- a/src/acpi/acpi_hpet.c +++ b/src/acpi/acpi_hpet.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include diff --git a/src/acpi/acpigen_usb.c b/src/acpi/acpigen_usb.c index e71e6dabb5..221a215f0d 100644 --- a/src/acpi/acpigen_usb.c +++ b/src/acpi/acpigen_usb.c @@ -4,6 +4,7 @@ #include #include #include +#include static const char *power_role_to_str(enum usb_typec_power_role power_role) { -- cgit v1.2.3