From feb683d1b9fbf33fc22c9263b4d7ad935f90aeaf Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Tue, 5 Sep 2023 23:15:03 +0200 Subject: [PATCH] soc/intel/common/block/acpi: Change __attribute__((weak)) to __weak Change-Id: I9ecd81ffaa48dbed225a23900704b259569cb7c8 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77527 Reviewed-by: Eric Lai Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/acpi/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c index af439a8eb0..eed153099d 100644 --- a/src/soc/intel/common/block/acpi/acpi.c +++ b/src/soc/intel/common/block/acpi/acpi.c @@ -287,7 +287,7 @@ void generate_p_state_entries(int core, int cores_per_package) acpigen_pop_len(); } -__attribute__ ((weak)) acpi_tstate_t *soc_get_tss_table(int *entries) +__weak acpi_tstate_t *soc_get_tss_table(int *entries) { *entries = 0; return NULL;