summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2022-03-28 13:23:28 -0600
committerWerner Zeh <werner.zeh@siemens.com>2022-05-16 05:20:40 +0000
commit159520ed7881d1be2fdd02ee13040e8e21a9833c (patch)
tree36ce8950f57c5dff6ae29015e803e116e0d64d25
parentaf06e9adea4760ccd9bff8169f588edb42e46c61 (diff)
mb/google/brya: Consistently put void before __weak attribute
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Ic59cccdf0fb88fc71a440170ee40b73dd8736a33 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63178 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/google/brya/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/mainboard.c b/src/mainboard/google/brya/mainboard.c
index 85d29fd69b..3c5b2c39c9 100644
--- a/src/mainboard/google/brya/mainboard.c
+++ b/src/mainboard/google/brya/mainboard.c
@@ -59,12 +59,12 @@ void mainboard_update_soc_chip_config(struct soc_intel_alderlake_config *config)
variant_update_soc_chip_config(config);
}
-__weak void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
+void __weak variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
{
/* default implementation does nothing */
}
-__weak void variant_init(void)
+void __weak variant_init(void)
{
/* default implementation does nothing */
}