drm: zte: select VIDEOMODE_HELPERS in Kconfig
authorShawn Guo <shawn.guo@linaro.org>
Mon, 9 Jan 2017 07:19:19 +0000 (15:19 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sat, 28 Jan 2017 02:10:44 +0000 (10:10 +0800)
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>
drivers/gpu/drm/zte/Kconfig

index 4065b2840f1ce1018d78ace0f5274dc957d5548b..5f9b4e7f2a36ace36687beac0fe6cb80201a3def 100644 (file)
@@ -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.