diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-22 06:03:08 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-24 10:00:21 +0000 |
commit | 813b2f030d7b17e7e550005a108419eb4e372c4e (patch) | |
tree | c06fbdec370e71a9bb1d0164a0146ca58976b041 /src/mainboard/amd/bilby | |
parent | 32b99169a56aa18047039092856a744d0e3d2d67 (diff) |
mb/amd,google: Rename static functions to mainboard_enable
Let's not have 7 boards of all use a different name for
the .enable_dev function in mainboard chip_operations.
Change-Id: I07f3569e6af85f4f1635595125fe2881ab9ddd43
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50999
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/bilby')
-rw-r--r-- | src/mainboard/amd/bilby/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/bilby/mainboard.c b/src/mainboard/amd/bilby/mainboard.c index 2bfdb59fa3..7e3c17b8e5 100644 --- a/src/mainboard/amd/bilby/mainboard.c +++ b/src/mainboard/amd/bilby/mainboard.c @@ -95,7 +95,7 @@ static void mainboard_init(void *chip_info) mainboard_program_emmc_gpios(); } -static void bilby_enable(struct device *dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); @@ -106,5 +106,5 @@ static void bilby_enable(struct device *dev) struct chip_operations mainboard_ops = { .init = mainboard_init, - .enable_dev = bilby_enable, + .enable_dev = mainboard_enable, }; |