From 813b2f030d7b17e7e550005a108419eb4e372c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 22 Feb 2021 06:03:08 +0200 Subject: mb/amd,google: Rename static functions to mainboard_enable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50999 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Felix Held --- src/mainboard/amd/bilby/mainboard.c | 4 ++-- src/mainboard/amd/gardenia/mainboard.c | 4 ++-- src/mainboard/amd/majolica/mainboard.c | 4 ++-- src/mainboard/amd/mandolin/mainboard.c | 4 ++-- src/mainboard/amd/padmelon/mainboard.c | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/mainboard/amd') 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, }; diff --git a/src/mainboard/amd/gardenia/mainboard.c b/src/mainboard/amd/gardenia/mainboard.c index 60739dba22..e153f71bbe 100644 --- a/src/mainboard/amd/gardenia/mainboard.c +++ b/src/mainboard/amd/gardenia/mainboard.c @@ -75,7 +75,7 @@ static void mainboard_init(void *chip_info) /************************************************* * enable the dedicated function in gardenia board. *************************************************/ -static void gardenia_enable(struct device *dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); @@ -86,5 +86,5 @@ static void gardenia_enable(struct device *dev) struct chip_operations mainboard_ops = { .init = mainboard_init, - .enable_dev = gardenia_enable, + .enable_dev = mainboard_enable, }; diff --git a/src/mainboard/amd/majolica/mainboard.c b/src/mainboard/amd/majolica/mainboard.c index bba6a5fefb..22ec33a3d3 100644 --- a/src/mainboard/amd/majolica/mainboard.c +++ b/src/mainboard/amd/majolica/mainboard.c @@ -89,7 +89,7 @@ static void mainboard_init(void *chip_info) { } -static void majolica_enable(struct device *dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); @@ -100,5 +100,5 @@ static void majolica_enable(struct device *dev) struct chip_operations mainboard_ops = { .init = mainboard_init, - .enable_dev = majolica_enable, + .enable_dev = mainboard_enable, }; diff --git a/src/mainboard/amd/mandolin/mainboard.c b/src/mainboard/amd/mandolin/mainboard.c index 3513f614fe..915f22ec21 100644 --- a/src/mainboard/amd/mandolin/mainboard.c +++ b/src/mainboard/amd/mandolin/mainboard.c @@ -95,7 +95,7 @@ static void mainboard_init(void *chip_info) mainboard_program_emmc_gpios(); } -static void mandolin_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 mandolin_enable(struct device *dev) struct chip_operations mainboard_ops = { .init = mainboard_init, - .enable_dev = mandolin_enable, + .enable_dev = mainboard_enable, }; diff --git a/src/mainboard/amd/padmelon/mainboard.c b/src/mainboard/amd/padmelon/mainboard.c index 1ffa16e991..fc5279b40f 100644 --- a/src/mainboard/amd/padmelon/mainboard.c +++ b/src/mainboard/amd/padmelon/mainboard.c @@ -104,7 +104,7 @@ static void mainboard_init(void *chip_info) /************************************************* * enable the dedicated function in padmelon board. *************************************************/ -static void padmelon_enable(struct device *dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); @@ -115,5 +115,5 @@ static void padmelon_enable(struct device *dev) struct chip_operations mainboard_ops = { .init = mainboard_init, - .enable_dev = padmelon_enable, + .enable_dev = mainboard_enable, }; -- cgit v1.2.3