summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/zte
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-01-09 15:19:19 +0800
committerShawn Guo <shawn.guo@linaro.org>2017-01-28 10:10:44 +0800
commit1aaaac1f955ba0eeca1f7e4587456e1ab8162a5a (patch)
tree410a965a4b2519ab0e10e13425f3cd240aed6a3b /drivers/gpu/drm/zte
parenta121103c922847ba5010819a3f250f1f7fc84ab8 (diff)
downloadlinux-stable-1aaaac1f955ba0eeca1f7e4587456e1ab8162a5a.tar.gz
linux-stable-1aaaac1f955ba0eeca1f7e4587456e1ab8162a5a.tar.bz2
linux-stable-1aaaac1f955ba0eeca1f7e4587456e1ab8162a5a.zip
drm: zte: select VIDEOMODE_HELPERS in Kconfig
ZTE DRM driver uses drm_display_mode_to_videomode() in function zx_crtc_enable(). Select VIDEOMODE_HELPERS in Kconfig to fix the following link error. LD vmlinux.o MODPOST vmlinux.o drivers/built-in.o: In function `zx_crtc_enable': :(.text+0xbdeb8): undefined reference to `drm_display_mode_to_videomode' Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/zte')
-rw-r--r--drivers/gpu/drm/zte/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/zte/Kconfig b/drivers/gpu/drm/zte/Kconfig
index 4065b2840f1c..5f9b4e7f2a36 100644
--- a/drivers/gpu/drm/zte/Kconfig
+++ b/drivers/gpu/drm/zte/Kconfig
@@ -4,5 +4,6 @@ config DRM_ZTE
select DRM_KMS_CMA_HELPER
select DRM_KMS_FB_HELPER
select DRM_KMS_HELPER
+ select VIDEOMODE_HELPERS
help
Choose this option to enable DRM on ZTE ZX SoCs.