summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/p852/board-p852-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/p852/board-p852-panel.c')
-rw-r--r--arch/arm/mach-tegra/p852/board-p852-panel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/p852/board-p852-panel.c b/arch/arm/mach-tegra/p852/board-p852-panel.c
index 3d65a61adecb..c47032dd4f0a 100644
--- a/arch/arm/mach-tegra/p852/board-p852-panel.c
+++ b/arch/arm/mach-tegra/p852/board-p852-panel.c
@@ -174,6 +174,12 @@ int __init p852_panel_init(void)
if (err)
return err;
+#ifdef CONFIG_TEGRA_GRHOST
+ err = nvhost_device_register(&tegra_grhost_device);
+ if (err)
+ return err;
+#endif
+
err = platform_add_devices(p852_gfx_devices,
ARRAY_SIZE(p852_gfx_devices));