summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristian Daudt <csd@broadcom.com>2013-08-20 17:37:19 +0200
committerChristian Daudt <csd@broadcom.com>2013-08-20 19:51:38 +0200
commitaea237bfa0a8ce8fe364e3fa7de6850777044a60 (patch)
treedaa7d7ce07327b787cd707f1d8add2ab896ecbeb /arch
parentARM: mmc: fix NONREMOVABLE test in sdhci-bcm-kona (diff)
downloadlinux-aea237bfa0a8ce8fe364e3fa7de6850777044a60.tar.xz
linux-aea237bfa0a8ce8fe364e3fa7de6850777044a60.zip
ARM: DT: binding fixup to align with vendor-prefixes.txt (drivers)
[ this is a follow-up to this discussion: http://archive.arm.linux.org.uk/lurker/message/20130730.230827.a1ceb12a.en.html ] This patchset renames all uses of "bcm," name bindings to "brcm," as they were done prior to knowing that brcm had already been standardized as Broadcom vendor prefix (in Documentation/devicetree/bindings/vendor-prefixes.txt). This will not cause any churn on devices because none of these bindings have made it into production yet. Signed-off-by: Christian Daudt <csd@broadcom.com> Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-bcm/bcm_kona_smc.c3
-rw-r--r--arch/arm/mach-bcm/board_bcm281xx.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-bcm/bcm_kona_smc.c b/arch/arm/mach-bcm/bcm_kona_smc.c
index 56d9d19b2470..bcc1c5903fb1 100644
--- a/arch/arm/mach-bcm/bcm_kona_smc.c
+++ b/arch/arm/mach-bcm/bcm_kona_smc.c
@@ -36,7 +36,8 @@ struct bcm_kona_smc_data {
};
static const struct of_device_id bcm_kona_smc_ids[] __initconst = {
- {.compatible = "bcm,kona-smc"},
+ {.compatible = "brcm,kona-smc"},
+ {.compatible = "bcm,kona-smc"}, /* deprecated name */
{},
};
diff --git a/arch/arm/mach-bcm/board_bcm281xx.c b/arch/arm/mach-bcm/board_bcm281xx.c
index 1e49ec0399ad..3fe1e4d2e9a7 100644
--- a/arch/arm/mach-bcm/board_bcm281xx.c
+++ b/arch/arm/mach-bcm/board_bcm281xx.c
@@ -44,7 +44,7 @@ static void bcm_board_setup_restart(void)
{
struct device_node *np;
- np = of_find_compatible_node(NULL, NULL, "bcm,bcm11351");
+ np = of_find_compatible_node(NULL, NULL, "brcm,bcm11351");
if (np) {
if (of_device_is_available(np))
bcm_kona_setup_restart();
@@ -63,7 +63,7 @@ static void __init board_init(void)
kona_l2_cache_init();
}
-static const char * const bcm11351_dt_compat[] = { "bcm,bcm11351", NULL, };
+static const char * const bcm11351_dt_compat[] = { "brcm,bcm11351", NULL, };
DT_MACHINE_START(BCM11351_DT, "Broadcom Application Processor")
.init_time = clocksource_of_init,