summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-05 23:15:03 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-09-06 13:27:52 +0000
commitfeb683d1b9fbf33fc22c9263b4d7ad935f90aeaf (patch)
tree232aead56fbd0c4d153043278cddba1074e1364a /src/soc
parent8ba64cd608e4e88e8ca34e04132cc0f39a1af5a2 (diff)
soc/intel/common/block/acpi: Change __attribute__((weak)) to __weak
Change-Id: I9ecd81ffaa48dbed225a23900704b259569cb7c8 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77527 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
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;