summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-bonaire-panel.c
diff options
context:
space:
mode:
authorMayuresh Kulkarni <mkulkarni@nvidia.com>2013-07-12 20:23:59 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:31:50 -0700
commit375fdb665954d0149fe214b430e1600d91cae3fc (patch)
tree6c0a159cd0788857577d80844dd1fd99efbc8112 /arch/arm/mach-tegra/board-bonaire-panel.c
parent08b6544fa94e9247019f42c16b683993e09e9f33 (diff)
ARM: tegra: disable DT path for host1x and gk20a
this commit disable DT path for host1x and gk20a the idea is to statically register the host1x and gk20a devices for this to work correctly, it should be ensured that host1x and gk20a entries are removed from DT bug 1316106 Change-Id: I8ac90f691b1bc9d6f39b5ad375ffe5cb1ec33b7c Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/248410 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-bonaire-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-bonaire-panel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-bonaire-panel.c b/arch/arm/mach-tegra/board-bonaire-panel.c
index 18914169cad8..8abe281b518a 100644
--- a/arch/arm/mach-tegra/board-bonaire-panel.c
+++ b/arch/arm/mach-tegra/board-bonaire-panel.c
@@ -61,12 +61,17 @@ struct platform_device * __init bonaire_host1x_init(void)
struct platform_device *pdev = NULL;
#ifdef CONFIG_TEGRA_GRHOST
+ /* FIXME: remove this #if 0 and below line when DT will be enabled for
+ * bonaire */
+#if 0
if (!of_have_populated_dt())
pdev = tegra12_register_host1x_devices();
else
pdev = to_platform_device(bus_find_device_by_name(
&platform_bus_type, NULL, "host1x"));
#endif
+ pdev = tegra12_register_host1x_devices();
+#endif
return pdev;
}