diff options
author | Markus Mayer <markus.mayer@linaro.org> | 2014-02-24 10:31:49 -0800 |
---|---|---|
committer | Markus Mayer <markus.mayer@linaro.org> | 2014-02-25 12:32:08 -0800 |
commit | d6a5389650e1dda43f4635ae6f309f63c2761a05 (patch) | |
tree | 93aead34b94ee1e6486a0e7c684108678436fcdb | |
parent | 42b780457fd5b9a537859631696409e5d5c4042f (diff) |
ARM: bcm281xx: Rename board_init() functionreview/capri-boot-3.15-v1
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>
-rw-r--r-- | arch/arm/mach-bcm/board_bcm281xx.c | 4 |
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 fe00ff36c3d..8fee05bdc1b 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); @@ -66,7 +66,7 @@ static void __init board_init(void) static const char * const bcm11351_dt_compat[] = { "brcm,bcm11351", NULL, }; DT_MACHINE_START(BCM11351_DT, "BCM281xx Broadcom Application Processor") - .init_machine = board_init, + .init_machine = bcm281xx_init, .restart = bcm281xx_restart, .dt_compat = bcm11351_dt_compat, MACHINE_END |