From 906099401496ab249edc2aa1691390e4c0e875fe Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 14 Jun 2024 16:25:45 +0200 Subject: vc/amd/opensil/*/opensil.h: add missing device/device.h include device/device.h provides the definition of struct device. Signed-off-by: Felix Held Change-Id: Id1c3c09665e3eedec6055f4a0586016c5a5537bc Reviewed-on: https://review.coreboot.org/c/coreboot/+/83083 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/vendorcode/amd/opensil/genoa_poc/opensil.h | 1 + src/vendorcode/amd/opensil/stub/opensil.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/vendorcode') diff --git a/src/vendorcode/amd/opensil/genoa_poc/opensil.h b/src/vendorcode/amd/opensil/genoa_poc/opensil.h index 334903ff2e..1aa2f06423 100644 --- a/src/vendorcode/amd/opensil/genoa_poc/opensil.h +++ b/src/vendorcode/amd/opensil/genoa_poc/opensil.h @@ -4,6 +4,7 @@ #define _OPENSIL_H_ #include +#include void SIL_STATUS_report(const char *function, const int status); // Add the memory map to dev, starting at index idx, returns last use idx diff --git a/src/vendorcode/amd/opensil/stub/opensil.h b/src/vendorcode/amd/opensil/stub/opensil.h index caa7b136a0..9563403e6b 100644 --- a/src/vendorcode/amd/opensil/stub/opensil.h +++ b/src/vendorcode/amd/opensil/stub/opensil.h @@ -4,6 +4,7 @@ #define _OPENSIL_H_ #include +#include // Add the memory map to dev, starting at index idx, returns last use idx void add_opensil_memmap(struct device *dev, unsigned long *idx); -- cgit v1.2.3