summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-26 14:14:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-27 16:37:48 +0000
commitae54db792661ff80ba0d2706200571a428f04c6b (patch)
tree4fef944a368f97ab787297f67a2baac5641d677e /src/soc/amd/picasso/include
parent1b410d9ab98b084ab90d012a2ae80c25b1b0a544 (diff)
soc/amd: use expected function signature for soc_acpi_write_tables
A pointer to soc_acpi_write_tables gets assigned to the write_acpi_tables element of the device_operations struct, so make sure that the function has the expected function signature which in this case means using unsigned long as type for both the 'current' parameter and the return value. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iee45badb904fa20c6db146edbc00c40ca09361d1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80218 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r--src/soc/amd/picasso/include/soc/acpi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/include/soc/acpi.h b/src/soc/amd/picasso/include/soc/acpi.h
index 7a0f749068..5f7e748f8d 100644
--- a/src/soc/amd/picasso/include/soc/acpi.h
+++ b/src/soc/amd/picasso/include/soc/acpi.h
@@ -10,7 +10,7 @@
#define ACPI_SCI_IRQ 9
-uintptr_t soc_acpi_write_tables(const struct device *device, uintptr_t current,
- acpi_rsdp_t *rsdp);
+unsigned long soc_acpi_write_tables(const struct device *device, unsigned long current,
+ acpi_rsdp_t *rsdp);
#endif /* AMD_PICASSO_ACPI_H */