drm/exynos: fimc: Clock control is unused if !PM
authorThierry Reding <treding@nvidia.com>
Thu, 24 Sep 2015 10:14:14 +0000 (12:14 +0200)
committerInki Dae <inki.dae@samsung.com>
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 <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_fimc.c