summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/board_bcm281xx.c
diff options
context:
space:
mode:
authorMarkus Mayer <markus.mayer@linaro.org>2014-02-25 23:17:46 +0100
committerMatt Porter <mporter@linaro.org>2014-03-06 09:18:01 +0100
commit0e8b860ac6d65209beea03ee9b718089838476ef (patch)
tree57a2d819791c874b39c391f1af7bb13f344aba34 /arch/arm/mach-bcm/board_bcm281xx.c
parentARM: bcm281xx: Re-order hearder files (diff)
downloadlinux-0e8b860ac6d65209beea03ee9b718089838476ef.tar.xz
linux-0e8b860ac6d65209beea03ee9b718089838476ef.zip
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: Markus Mayer <markus.mayer@linaro.org> Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm/board_bcm281xx.c')
-rw-r--r--arch/arm/mach-bcm/board_bcm281xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-bcm/board_bcm281xx.c b/arch/arm/mach-bcm/board_bcm281xx.c
index 0335c3ad2966..6be54c10f8cb 100644
--- a/arch/arm/mach-bcm/board_bcm281xx.c
+++ b/arch/arm/mach-bcm/board_bcm281xx.c
@@ -56,7 +56,7 @@ static void bcm281xx_restart(enum reboot_mode mode, const char *cmd)
while (1);
}
-static void __init board_init(void)
+static void __init bcm281xx_init(void)
{
of_platform_populate(NULL, of_default_bus_match_table, NULL,
&platform_bus);
@@ -69,7 +69,7 @@ static const char * const bcm281xx_dt_compat[] = {
};
DT_MACHINE_START(BCM281XX_DT, "BCM281xx Broadcom Application Processor")
- .init_machine = board_init,
+ .init_machine = bcm281xx_init,
.restart = bcm281xx_restart,
.dt_compat = bcm281xx_dt_compat,
MACHINE_END