]> git.openfabrics.org - ~emulex/infiniband.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)
commitd3460b2abab3800e2d33d5529f8a54bd2e45b4e0
tree2133e25bbe8213cd085ed2aac0c109c075de719e
parentde3767aaef5ced67d0037623655bd1acb24c7cc1
[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