summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-06-17 14:08:46 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-06-18 23:00:40 +0000
commit7ebebf72f8f53ba1e3afebffa41257d9cf84e3da (patch)
treebb8aba6be8d56ced94f5fa2174f183ceb3a42c8e /src/include
parent719b690e99f21ca862cc9629ed26ae1fb609d767 (diff)
downloadcoreboot-7ebebf72f8f53ba1e3afebffa41257d9cf84e3da.tar.gz
coreboot-7ebebf72f8f53ba1e3afebffa41257d9cf84e3da.tar.bz2
coreboot-7ebebf72f8f53ba1e3afebffa41257d9cf84e3da.zip
acpi/acpi.c: Change signature of write_acpi_tables
The argument is copied into current and is never modified. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I3084e43ccbe9749bc726af3120decfe8b52e1709 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75902 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 09e12115ba88..d3f209a44e31 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1335,7 +1335,7 @@ unsigned long fw_cfg_acpi_tables(unsigned long start);
/* These are implemented by the target port or north/southbridge. */
void preload_acpi_dsdt(void);
-unsigned long write_acpi_tables(unsigned long addr);
+unsigned long write_acpi_tables(const unsigned long addr);
unsigned long acpi_fill_madt(unsigned long current);
void acpi_fill_fadt(acpi_fadt_t *fadt);