From de3767aaef5ced67d0037623655bd1acb24c7cc1 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Tue, 14 Oct 2014 07:10:40 -0300 Subject: [PATCH] [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 Signed-off-by: Thierry Reding Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed