From: Sylwester Nawrocki Date: Thu, 16 Jan 2014 14:49:28 +0000 (-0300) Subject: [media] exynos4-is: Compile in fimc-lite runtime PM callbacks conditionally X-Git-Tag: v3.14-rc2~14^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656e62dc84a38fa847d9501636acb098a32d6f89;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed