ARM: EXYNOS: Hook up JPEG PD to generic PD infrastructure
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 10 Mar 2012 10:54:36 +0000 (02:54 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 10 Mar 2012 10:54:36 +0000 (02:54 -0800)
Add JPEG 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 a84df720c5561ffa99cc72bb632fc8ac6e204bef..13b306808b42b45606ae33cf6e1b101e1baa8382 100644 (file)
@@ -185,6 +185,9 @@ static __init int exynos4_pm_init_power_domain(void)
 #endif
 #ifdef CONFIG_S5P_DEV_G2D
        exynos_pm_add_dev_to_genpd(&s5p_device_g2d, &exynos4_pd_lcd0);
+#endif
+#ifdef CONFIG_S5P_DEV_JPEG
+       exynos_pm_add_dev_to_genpd(&s5p_device_jpeg, &exynos4_pd_cam);
 #endif
        return 0;
 }