summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/939a785gmh/mainboard.c4
-rw-r--r--src/mainboard/asrock/e350m1/mainboard.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/asrock/939a785gmh/mainboard.c b/src/mainboard/asrock/939a785gmh/mainboard.c
index d0186966c0..8939957690 100644
--- a/src/mainboard/asrock/939a785gmh/mainboard.c
+++ b/src/mainboard/asrock/939a785gmh/mainboard.c
@@ -95,7 +95,7 @@ u8 is_dev3_present(void)
* enable the dedicated function in mahogany board.
* This function called early than rs780_enable.
*************************************************/
-static void mb_enable(device_t dev)
+static void mainboard_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard 939A785GMH/128M Enable. dev=0x%p\n", dev);
@@ -104,7 +104,7 @@ static void mb_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
- .enable_dev = mb_enable,
+ .enable_dev = mainboard_enable,
};
/* override the default SATA PHY setup */
diff --git a/src/mainboard/asrock/e350m1/mainboard.c b/src/mainboard/asrock/e350m1/mainboard.c
index a17778a9ea..2bedff5a44 100644
--- a/src/mainboard/asrock/e350m1/mainboard.c
+++ b/src/mainboard/asrock/e350m1/mainboard.c
@@ -48,11 +48,11 @@ void set_pcie_dereset(void)
/*************************************************
* enable the dedicated function in e350m1 board.
*************************************************/
-static void e350m1_enable(device_t dev)
+static void mainboard_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
}
struct chip_operations mainboard_ops = {
- .enable_dev = e350m1_enable,
+ .enable_dev = mainboard_enable,
};