Commit 0e8b860a authored by Markus Mayer's avatar Markus Mayer Committed by Matt Porter

ARM: bcm281xx: Rename board_init() function

Rename board_init() to bcm281xx_init(), so the name reflects the board
specific nature of this function.
Signed-off-by: default avatarMarkus Mayer <markus.mayer@linaro.org>
Signed-off-by: default avatarMatt Porter <mporter@linaro.org>
parent 389df036
...@@ -56,7 +56,7 @@ static void bcm281xx_restart(enum reboot_mode mode, const char *cmd) ...@@ -56,7 +56,7 @@ static void bcm281xx_restart(enum reboot_mode mode, const char *cmd)
while (1); while (1);
} }
static void __init board_init(void) static void __init bcm281xx_init(void)
{ {
of_platform_populate(NULL, of_default_bus_match_table, NULL, of_platform_populate(NULL, of_default_bus_match_table, NULL,
&platform_bus); &platform_bus);
...@@ -69,7 +69,7 @@ static const char * const bcm281xx_dt_compat[] = { ...@@ -69,7 +69,7 @@ static const char * const bcm281xx_dt_compat[] = {
}; };
DT_MACHINE_START(BCM281XX_DT, "BCM281xx Broadcom Application Processor") DT_MACHINE_START(BCM281XX_DT, "BCM281xx Broadcom Application Processor")
.init_machine = board_init, .init_machine = bcm281xx_init,
.restart = bcm281xx_restart, .restart = bcm281xx_restart,
.dt_compat = bcm281xx_dt_compat, .dt_compat = bcm281xx_dt_compat,
MACHINE_END MACHINE_END
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment