[media] exynos4-is: Compile in fimc runtime PM callbacks conditionally
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 7 Jan 2014 22:08:48 +0000 (19:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 07:59:08 +0000 (05:59 -0200)
commitd003a30dd7401f38c876bb97e3e51f4fd9fed15e
tree823b233952fab28d91b91ec34b8690c797e6a4d9
parenta27a19d61535ce61a1e2f9274f99316c7532d5ef
[media] exynos4-is: Compile in fimc runtime PM callbacks conditionally

Enclose the runtime PM helpers in #ifdef CONFIG_PM_RUNTIME/#endif
to avoid following compile warning when CONFIG_PM_RUNTIME is disabled:

 CC      drivers/media/platform/exynos4-is/fimc-core.o
drivers/media/platform/exynos4-is/fimc-core.c:1040:12: warning: ‘fimc_runtime_resume’ defined but not used
drivers/media/platform/exynos4-is/fimc-core.c:1057:12: warning: ‘fimc_runtime_suspend’ defined but not used

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/fimc-core.c