drm/exynos: rotator: Clock control is unused if !PM
authorThierry Reding <treding@nvidia.com>
Thu, 24 Sep 2015 10:14:15 +0000 (12:14 +0200)
committerInki Dae <inki.dae@samsung.com>
Wed, 30 Sep 2015 07:44:14 +0000 (16:44 +0900)
commit85a82038b2744f87cb297f93ddecd04a8c2979bd
tree274f191033910ab6e6fe49051ee52e123844a4e9
parent641a2fef39369c27df887e82cd63aee3de93f511
drm/exynos: rotator: Clock control is unused if !PM

Protect the rotator_clk_crtl() function with an #ifdef CONFIG_PM guard
to avoid "defined but not used" warnings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_rotator.c