summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-bonaire-panel.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2013-10-29 05:00:05 -0700
committerTerje Bergstrom <tbergstrom@nvidia.com>2013-10-29 05:01:24 -0700
commitaea94e3eaf6af10254ec109aa8636b018749be46 (patch)
treee49c9997d0be938b15bbbcd0e6c8696ee912a8a0 /arch/arm/mach-tegra/board-bonaire-panel.c
parent1a48e3a1826b6347b95aa3c1c96ab1c957a240ac (diff)
Revert "ARM: tegra12: enable DT support for host1x"
This reverts commit 1a48e3a1826b6347b95aa3c1c96ab1c957a240ac. Change-Id: Ibd58be83afadda460b81def37665ab19e95b1693 Reviewed-on: http://git-master/r/304851 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-bonaire-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-bonaire-panel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-bonaire-panel.c b/arch/arm/mach-tegra/board-bonaire-panel.c
index 4a3f04a430ed..712c1417fc36 100644
--- a/arch/arm/mach-tegra/board-bonaire-panel.c
+++ b/arch/arm/mach-tegra/board-bonaire-panel.c
@@ -61,16 +61,16 @@ 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"));
-
- if (!pdev) {
- pr_err("host1x devices registration failed\n");
- return NULL;
- }
+#endif
+ pdev = tegra12_register_host1x_devices();
#endif
return pdev;
}