diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2013-10-03 14:50:05 +0530 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2013-11-12 04:42:34 -0800 |
commit | f944d4d9ca0a9fb359a38ea37a33a2fd31a53fb8 (patch) | |
tree | e5b102d98418e9c44dc920461d1ec86fc16fd111 /arch/arm/mach-tegra/board-bonaire-panel.c | |
parent | 2df98738a03bab3acd0f3d90121b11cd550eeff2 (diff) |
ARM: tegra12: enable DT support for host1x
- make board file changes to enable DT support for host1x
- rename clocks to isp.0/vi.0/vic03.0/gk20a.0 to match with
device names
bug 1366383
Change-Id: I97d8dcf1435c93be9cd81c40f101b645f8073019
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/304871
GVS: Gerrit_Virtual_Submit
Reviewed-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.c | 10 |
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 712c1417fc36..4a3f04a430ed 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")); -#endif - pdev = tegra12_register_host1x_devices(); + + if (!pdev) { + pr_err("host1x devices registration failed\n"); + return NULL; + } #endif return pdev; } |