Skip to contentSkip to conversation

mach-bcm: bcm281xx: symbol cleanup

PATCH Applied Alex Elder 3 participants 3 messages Feb 25, 2014 – Mar 6, 2014

Subsystems (4)
lore
Share & tools
lore

Alex Elder

author
#0 lore raw

PATCH 1/1 mach-bcm: bcm281xx: symbol cleanup

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".

---
 arch/arm/mach-bcm/board_bcm281xx.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
arch/arm/mach-bcm/board_bcm281xx.c +6 -3
index cb3dc36..d8f0b6c 100644
@@ -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
Signature · 1 line
1.7.9.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Alex Elder

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".

Quoted 27 lines
---
 arch/arm/mach-bcm/board_bcm281xx.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
arch/arm/mach-bcm/board_bcm281xx.c +6 -4
index cb3dc36..d8f0b6c 100644
@@ -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

Signature · 2 lines
Markus Mayer
Broadcom Landing Team
Applied
#2 lore raw
In reply to Alex Elder
Quoted 7 lines · Alex Elder

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".

Applied to mach-bcm for-3.15/cleanup

-Matt