summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-laguna-power.c
diff options
context:
space:
mode:
authorMitch Luban <mluban@nvidia.com>2013-07-24 00:50:37 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:34:01 -0700
commit0ff398c9e70955c5afe229b421bf9fcea528a87c (patch)
treeaa13b601ab60ade1b18df9bb68bfed3b4eedd493 /arch/arm/mach-tegra/board-laguna-power.c
parenta8799f137cc514bc488ff05d7e7c46cea266fdeb (diff)
arm: tegra: init laguna and ardbeg as separate devices
Need to call DT_MACHINE_START for each platform so that ro.hardware property is set according to platform name. This also enforces one dts file per platform. Bug 1328162 Change-Id: Ia6091791f664d6b047fc1f69263a9f30e3fd3497 Signed-off-by: Mitch Luban <mluban@nvidia.com> Reviewed-on: http://git-master/r/252797 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-laguna-power.c')
-rw-r--r--arch/arm/mach-tegra/board-laguna-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-laguna-power.c b/arch/arm/mach-tegra/board-laguna-power.c
index d6c4ebcc599f..2b9be2d517e7 100644
--- a/arch/arm/mach-tegra/board-laguna-power.c
+++ b/arch/arm/mach-tegra/board-laguna-power.c
@@ -774,7 +774,7 @@ static int __init laguna_fixed_regulator_init(void)
{
struct board_info board_info;
- if (!of_machine_is_compatible("nvidia,ardbeg"))
+ if (!of_machine_is_compatible("nvidia,laguna"))
return 0;
tegra_get_board_info(&board_info);