[media] exynos4-is: Compile in fimc-lite runtime PM callbacks conditionally
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 16 Jan 2014 14:49:28 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 07:59:22 +0000 (05:59 -0200)
commit656e62dc84a38fa847d9501636acb098a32d6f89
treed351495b49caf995bd86a5e8daf3c77d4d36b0b7
parentd003a30dd7401f38c876bb97e3e51f4fd9fed15e
[media] exynos4-is: Compile in fimc-lite 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-lite.o
drivers/media/platform/exynos4-is/fimc-lite.c:1591:12: warning: ‘fimc_lite_runtime_resume’ defined but not used [-Wunused-function]
drivers/media/platform/exynos4-is/fimc-lite.c:1599:12: warning: ‘fimc_lite_runtime_suspend’ defined but not used [-Wunused-function]

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