drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only
authorThierry Reding <treding@nvidia.com>
Fri, 14 Aug 2015 11:58:20 +0000 (13:58 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 18 Aug 2015 08:47:21 +0000 (10:47 +0200)
commitdbb3df2d58754e4df58620e60370d166c2cb6744
tree02291743f767c8d7fa9a9624fd667a2ba14c737e
parent7945dc5885c51d05d9368fd0066755adca73f009
drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

If PM is enabled but PM_SLEEP is disabled, the suspend/resume functions
are still unused and produce a compiler warning.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: <stable@vger.kernel.org> # 4.1+
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c