[media] s5p-jpeg: Only build suspend/resume for PM
authorThierry Reding <treding@nvidia.com>
Tue, 14 Oct 2014 10:10:40 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 24 Oct 2014 11:36:20 +0000 (09:36 -0200)
commitde3767aaef5ced67d0037623655bd1acb24c7cc1
treee64643b8dddfd1099f83b3b0f335c4a760f706a3
parent098bcd2335f0824e76dd835e4e2b7ae8e38fc281
[media] s5p-jpeg: Only build suspend/resume for PM

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

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
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/s5p-jpeg/jpeg-core.c