]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89af251705ba947c2f89968989757ac22fb64918
tree0b69b06270864337c58cc1797e75167922689a04
parent278a4e4b7a5b57164138f2124381cf406d79e754
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