diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-06-14 16:25:45 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-17 14:27:30 +0000 |
commit | 906099401496ab249edc2aa1691390e4c0e875fe (patch) | |
tree | c48c6c8aa98fd4ac1883e86f7b712af207de2a77 /src/vendorcode | |
parent | c5755810dfd1e420320e00ec98c96dacf018fee9 (diff) |
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 <felix-coreboot@felixheld.de>
Change-Id: Id1c3c09665e3eedec6055f4a0586016c5a5537bc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83083
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode')
-rw-r--r-- | src/vendorcode/amd/opensil/genoa_poc/opensil.h | 1 | ||||
-rw-r--r-- | src/vendorcode/amd/opensil/stub/opensil.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 <acpi/acpi.h> +#include <device/device.h> 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 <acpi/acpi.h> +#include <device/device.h> // Add the memory map to dev, starting at index idx, returns last use idx void add_opensil_memmap(struct device *dev, unsigned long *idx); |