Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47627 )
Change subject: soc/amd/picasso/acpi.h: include missing header files ......................................................................
soc/amd/picasso/acpi.h: include missing header files
In the file uintptr_t that is defined in stdint.h and struct device that is defined in device/device.h are used, so include them directly to avoid having to rely on them being included in the file that includes this header file.
Change-Id: I9893619924d45e5690a5cfc65252ace4cb7f1486 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/picasso/include/soc/acpi.h 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/47627/1
diff --git a/src/soc/amd/picasso/include/soc/acpi.h b/src/soc/amd/picasso/include/soc/acpi.h index a21d347..0345e23 100644 --- a/src/soc/amd/picasso/include/soc/acpi.h +++ b/src/soc/amd/picasso/include/soc/acpi.h @@ -6,6 +6,8 @@ #include <acpi/acpi.h> #include <amdblocks/acpi.h> #include <amdblocks/gpio_banks.h> +#include <device/device.h> +#include <stdint.h>
unsigned long southbridge_write_acpi_tables(const struct device *device, unsigned long current, struct acpi_rsdp *rsdp);