diff options
author | Reka Norman <rekanorman@chromium.org> | 2022-04-12 09:51:32 +1000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-13 15:09:41 +0000 |
commit | 581cd6762f5c69a2d434b052fb55341d4014173e (patch) | |
tree | 12a770c435a27a9c37d0b42034b31500ea0d8ad3 /src/mainboard/google | |
parent | b5994be2e8d25be6c2724146404936c1c9fd8620 (diff) |
mb/google/brya: Add missing parameter name to variant_generate_s0ix_hook
Fixes the following build error:
src/mainboard/google/brya/mainboard.c: In function 'variant_generate_s0ix_hook':
src/mainboard/google/brya/mainboard.c:157:40: error: parameter name omitted
void __weak variant_generate_s0ix_hook(enum s0ix_entry)
^~~~~~~~~~~~~~~
BUG=None
TEST=`abuild -a -x -c max -p none -t google/brya` now succeeds
Change-Id: Id578766e2a3b7647e920740dde3e356a7db39d4d
Signed-off-by: Reka Norman <rekanorman@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63564
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/brya/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/mainboard.c b/src/mainboard/google/brya/mainboard.c index b3f42cae20..d85dc05ea1 100644 --- a/src/mainboard/google/brya/mainboard.c +++ b/src/mainboard/google/brya/mainboard.c @@ -154,7 +154,7 @@ void __weak variant_fill_ssdt(const struct device *dev) /* Add board-specific SSDT entries */ } -void __weak variant_generate_s0ix_hook(enum s0ix_entry) +void __weak variant_generate_s0ix_hook(enum s0ix_entry entry) { /* Add board-specific MS0X entries */ /* diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h index baf05979ca..b088ecb10e 100644 --- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h @@ -29,7 +29,7 @@ enum s0ix_entry { S0IX_ENTRY, }; -void variant_generate_s0ix_hook(enum s0ix_entry); +void variant_generate_s0ix_hook(enum s0ix_entry entry); /* Modify devictree settings during ramstage */ void variant_devtree_update(void); |