ARM: tegra: loki: add TEGRA_GRHOST=n support
[linux-3.10.git] / arch / arm / mach-tegra / board-loki-panel.c
index 65be52f..d0fe2e1 100644 (file)
@@ -43,12 +43,14 @@ struct platform_device * __init loki_host1x_init(void)
 {
        struct platform_device *pdev = NULL;
 
+#ifdef CONFIG_TEGRA_GRHOST
        pdev = tegra12_register_host1x_devices();
 
        if (!pdev) {
                pr_err("host1x devices registration failed\n");
                return NULL;
        }
+#endif
        return pdev;
 }