]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Suspend/resume is unused if !PM
authorThierry Reding <treding@nvidia.com>
Thu, 24 Sep 2015 10:14:13 +0000 (12:14 +0200)
committerInki Dae <inki.dae@samsung.com>
Wed, 30 Sep 2015 07:44:09 +0000 (16:44 +0900)
commit9395d3a7462993f7a20934a5f82f274767d1651a
treec2299fef576bf00ff824454c089ebc4b5f3dfc75
parent660a487faf7e559b18e7db5391a95dc047e662ce
drm/exynos: Suspend/resume is unused if !PM

Protect the suspend and resume callbacks with an #ifdef CONFIG_PM_SLEEP
guard to avoid "defined but not used" warnings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c