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>
This commit is contained in:
Reka Norman 2022-04-12 09:51:32 +10:00 committed by Felix Held
parent b5994be2e8
commit 581cd6762f
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ void __weak variant_fill_ssdt(const struct device *dev)
/* Add board-specific SSDT entries */ /* 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 */ /* Add board-specific MS0X entries */
/* /*

View File

@ -29,7 +29,7 @@ enum s0ix_entry {
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 */ /* Modify devictree settings during ramstage */
void variant_devtree_update(void); void variant_devtree_update(void);