]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2a5d9432bec29a6ab44d6d41fe0b1c3f5f90632
tree274f191033910ab6e6fe49051ee52e123844a4e9
parent89af251705ba947c2f89968989757ac22fb64918
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