diff mbox

mach-bcm: bcm281xx: symbol cleanup

Message ID 1393369305-4748-1-git-send-email-elder@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Elder Feb. 25, 2014, 11:01 p.m. UTC
This patch renames a few symbols that needlessly used "11351" rather
than "281xx" in their names.

Support for the bcm11351 board is being removed from the kernel, and
the family of boards is more properly referred to as "bcm281xx".

Signed-off-by: Alex Elder <elder@linaro.org>
---
 arch/arm/mach-bcm/board_bcm281xx.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Comments

Markus Mayer Feb. 25, 2014, 11:39 p.m. UTC | #1
On 25 February 2014 15:01, Alex Elder <elder@linaro.org> wrote:
> This patch renames a few symbols that needlessly used "11351" rather
> than "281xx" in their names.
>
> Support for the bcm11351 board is being removed from the kernel, and
> the family of boards is more properly referred to as "bcm281xx".
>
> Signed-off-by: Alex Elder <elder@linaro.org>

Reviewed-by: Markus Mayer <markus.mayer@linaro.org>

> ---
>  arch/arm/mach-bcm/board_bcm281xx.c |    9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-bcm/board_bcm281xx.c b/arch/arm/mach-bcm/board_bcm281xx.c
> index cb3dc36..d8f0b6c 100644
> --- a/arch/arm/mach-bcm/board_bcm281xx.c
> +++ b/arch/arm/mach-bcm/board_bcm281xx.c
> @@ -65,10 +65,13 @@ static void __init board_init(void)
>         kona_l2_cache_init();
>  }
>
> -static const char * const bcm11351_dt_compat[] = { "brcm,bcm11351", NULL, };
> +static const char * const bcm281xx_dt_compat[] = {
> +       "brcm,bcm11351",        /* Have to use the first number upstreamed */
> +       NULL,
> +};
>
> -DT_MACHINE_START(BCM11351_DT, "BCM281xx Broadcom Application Processor")
> +DT_MACHINE_START(BCM281XX_DT, "BCM281xx Broadcom Application Processor")
>         .init_machine = board_init,
>         .restart = bcm_kona_restart,
> -       .dt_compat = bcm11351_dt_compat,
> +       .dt_compat = bcm281xx_dt_compat,
>  MACHINE_END
> --
> 1.7.9.5
Matt Porter March 6, 2014, 9 a.m. UTC | #2
On Tue, Feb 25, 2014 at 05:01:45PM -0600, Alex Elder wrote:
> This patch renames a few symbols that needlessly used "11351" rather
> than "281xx" in their names.
> 
> Support for the bcm11351 board is being removed from the kernel, and
> the family of boards is more properly referred to as "bcm281xx".
> 
> Signed-off-by: Alex Elder <elder@linaro.org>

Applied to mach-bcm for-3.15/cleanup

-Matt
diff mbox

Patch

diff --git a/arch/arm/mach-bcm/board_bcm281xx.c b/arch/arm/mach-bcm/board_bcm281xx.c
index cb3dc36..d8f0b6c 100644
--- a/arch/arm/mach-bcm/board_bcm281xx.c
+++ b/arch/arm/mach-bcm/board_bcm281xx.c
@@ -65,10 +65,13 @@  static void __init board_init(void)
 	kona_l2_cache_init();
 }
 
-static const char * const bcm11351_dt_compat[] = { "brcm,bcm11351", NULL, };
+static const char * const bcm281xx_dt_compat[] = {
+	"brcm,bcm11351",	/* Have to use the first number upstreamed */
+	NULL,
+};
 
-DT_MACHINE_START(BCM11351_DT, "BCM281xx Broadcom Application Processor")
+DT_MACHINE_START(BCM281XX_DT, "BCM281xx Broadcom Application Processor")
 	.init_machine = board_init,
 	.restart = bcm_kona_restart,
-	.dt_compat = bcm11351_dt_compat,
+	.dt_compat = bcm281xx_dt_compat,
 MACHINE_END