summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/pm_domains.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-03-10 14:54:36 +0400
committerKukjin Kim <kgene.kim@samsung.com>2012-03-10 14:54:36 +0400
commit7537147710b5a3be5d7ff046d8c3c3f8e5e6a186 (patch)
tree5988d26abd82c3678be3de0f2c7493a4d0093a88 /arch/arm/mach-exynos/pm_domains.c
parenta9e87bd93636f92e717c505a5ba8c587bbe0ea1c (diff)
downloadlinux-7537147710b5a3be5d7ff046d8c3c3f8e5e6a186.tar.xz
ARM: EXYNOS: Hook up JPEG PD to generic PD infrastructure
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>
Diffstat (limited to 'arch/arm/mach-exynos/pm_domains.c')
-rw-r--r--arch/arm/mach-exynos/pm_domains.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index a84df720c556..13b306808b42 100644
--- a/arch/arm/mach-exynos/pm_domains.c
+++ b/arch/arm/mach-exynos/pm_domains.c
@@ -186,6 +186,9 @@ static __init int exynos4_pm_init_power_domain(void)
#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;
}
arch_initcall(exynos4_pm_init_power_domain);