summaryrefslogtreecommitdiff
path: root/src/acpi
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/acpi
parent719b690e99f21ca862cc9629ed26ae1fb609d767 (diff)
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/acpi')
-rw-r--r--src/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 78135d79dd..ce1453825f 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1854,7 +1854,7 @@ static void acpidump_print(void *table_ptr)
printk(BIOS_SPEW, "\n");
}
-unsigned long write_acpi_tables(unsigned long start)
+unsigned long write_acpi_tables(const unsigned long start)
{
unsigned long current;
acpi_rsdp_t *rsdp;