diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-07 00:04:44 (GMT) |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-05-19 13:50:53 (GMT) |
commit | 48107d7b0db180155b19b2cf083517014289a079 (patch) | |
tree | a3c67f630e239b09daf4269b0b5d5b16fdb44fb6 /drivers/gpu/drm/exynos/exynos_drm_crtc.c | |
parent | d6b163026c5a6f2e49bc59261b69d44465ebddb4 (diff) | |
download | linux-48107d7b0db180155b19b2cf083517014289a079.tar.xz |
drm/exynos: Fix build breakage on !DRM_EXYNOS_FIMD
Disabling the CONFIG_DRM_EXYNOS_FIMD (e.g. by enabling of CONFIG_FB_S3C)
leads to build error:
drivers/built-in.o: In function `exynos_dp_dpms':
binder.c:(.text+0xd6a840): undefined reference to `fimd_dp_clock_enable'
binder.c:(.text+0xd6ab54): undefined reference to `fimd_dp_clock_enable'
Fix this by changing direct call to fimd_dp_clock_enable() into optional
call to exynos_drm_crtc_ops->clock_enable(). Only the DRM_EXYNOS_FIMD
implements this op.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_crtc.c')
0 files changed, 0 insertions, 0 deletions