From: Markus Mayer <markus.mayer@linaro.org>
To: Matt Porter <matt.porter@linaro.org>,
Christian Daudt <bcm@fixthebug.org>
Cc: ARM Kernel List <linux-arm-kernel@lists.infradead.org>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [PATCH 4/4] ARM: bcm281xx: Rename board_init() function
Date: Tue, 25 Feb 2014 14:17:46 -0800 [thread overview]
Message-ID: <1393366666-28625-5-git-send-email-markus.mayer@linaro.org> (raw)
In-Reply-To: <1393366666-28625-1-git-send-email-markus.mayer@linaro.org>
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>
---
arch/arm/mach-bcm/board_bcm281xx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-bcm/board_bcm281xx.c b/arch/arm/mach-bcm/board_bcm281xx.c
index fe00ff3..8fee05b 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
--
1.7.9.5
next prev parent reply other threads:[~2014-02-25 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 22:17 [PATCH 0/4] ARM: bcm281xx: Consolidate code Markus Mayer
2014-02-25 22:17 ` [PATCH 1/4] ARM: bcm281xx: Move kona_l2_cache_init() so it can be shared Markus Mayer
2014-02-25 22:17 ` [PATCH 2/4] ARM: bcm281xx: Consolidate reboot code Markus Mayer
2014-02-25 22:17 ` [PATCH 3/4] ARM: bcm281xx: Re-order hearder files Markus Mayer
2014-02-25 22:17 ` Markus Mayer [this message]
2014-03-06 8:55 ` [PATCH 0/4] ARM: bcm281xx: Consolidate code Matt Porter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393366666-28625-5-git-send-email-markus.mayer@linaro.org \
--to=markus.mayer@linaro.org \
--cc=bcm@fixthebug.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.porter@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®