From 581cd6762f5c69a2d434b052fb55341d4014173e Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Tue, 12 Apr 2022 09:51:32 +1000 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63564 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/brya/mainboard.c | 2 +- .../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);