]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Only build suspend/resume for PM
authorThierry Reding <treding@nvidia.com>
Tue, 14 Oct 2014 10:11:18 +0000 (07:11 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 24 Oct 2014 11:36:38 +0000 (09:36 -0200)
commit937cec44b853b73da632f3d6eae7123f97aecddb
tree2133e25bbe8213cd085ed2aac0c109c075de719e
parent880b37e5f1b67641a397a71568c4b76af7bf2d76
[media] s5p-fimc: Only build suspend/resume for PM

If power management is disabled these functions become unused, so there
is no reason to build them. This fixes a couple of build warnings when
PM(_SLEEP,_RUNTIME) is not enabled.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos4-is/fimc-core.c