ARM: EXYNOS: Hook up G2D PD to generic PD infrastructure
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 9 Mar 2012 14:54:34 +0000 (06:54 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 9 Mar 2012 14:54:34 +0000 (06:54 -0800)
Add G2D power domain (PD) to generic power domain infrastructure.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm_domains.c

index 0b04af2..a84df72 100644 (file)
@@ -183,6 +183,9 @@ static __init int exynos4_pm_init_power_domain(void)
 #ifdef CONFIG_S5P_DEV_CSIS1
        exynos_pm_add_dev_to_genpd(&s5p_device_mipi_csis1, &exynos4_pd_cam);
 #endif
+#ifdef CONFIG_S5P_DEV_G2D
+       exynos_pm_add_dev_to_genpd(&s5p_device_g2d, &exynos4_pd_lcd0);
+#endif
        return 0;
 }
 arch_initcall(exynos4_pm_init_power_domain);