summaryrefslogtreecommitdiff
path: root/src/acpi/acpigen_usb.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-12-05 22:09:14 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-12-07 13:19:47 +0000
commit4a9ed707c80543f4dd4a586f2d4131e3d4f468e7 (patch)
treea8d2a414c52ff953d879c5fed78775bf0136f203 /src/acpi/acpigen_usb.c
parent1e6134d223338557ea743826d159bae85a91ed0a (diff)
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 <felix-coreboot@felixheld.de> Change-Id: I6ff7cdbf0f53ada92adb53cf268e5feee9df4629 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79401 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Diffstat (limited to 'src/acpi/acpigen_usb.c')
-rw-r--r--src/acpi/acpigen_usb.c1
1 files changed, 1 insertions, 0 deletions
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 <acpi/acpi_pld.h>
#include <acpi/acpigen.h>
#include <acpi/acpigen_usb.h>
+#include <device/device.h>
static const char *power_role_to_str(enum usb_typec_power_role power_role)
{