drm/exynos: fimc: Clock control is unused if !PM
authorThierry Reding <[email protected]>
Thu, 24 Sep 2015 10:14:14 +0000 (12:14 +0200)
committerInki Dae <[email protected]>
Wed, 30 Sep 2015 07:44:12 +0000 (16:44 +0900)
commit641a2fef39369c27df887e82cd63aee3de93f511
tree0b69b06270864337c58cc1797e75167922689a04
parent7082947eff3b1ddbb5d320331c846a5a2fc88261
drm/exynos: fimc: Clock control is unused if !PM

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

Signed-off-by: Thierry Reding <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_drm_fimc.c