Skip to content

Commit 6914262

Browse files
Sachin Kamatdaeinki
authored andcommitted
drm/exynos: Fix build error with exynos_drm_connector.c
exynos_drm_connector.c now uses videomode helper API. Hence select VIDEOMODE_HELPERS at DRM_EXYNOS level itself instead of at DRM_EXYNOS_FIMD to avoid the following compilation error when FIMD is not selected (introduced by commit cf796235a6 "drm/exynos: fimd: replace struct fb_videomode with videomode"): drivers/built-in.o: In function `exynos_drm_connector_get_modes': drivers/gpu/drm/exynos/exynos_drm_connector.c:86: undefined reference to `drm_display_mode_from_videomode' Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent 2d3f173 commit 6914262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/exynos/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config DRM_EXYNOS
66
select FB_CFB_COPYAREA
77
select FB_CFB_IMAGEBLIT
88
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
9+
select VIDEOMODE_HELPERS
910
help
1011
Choose this option if you have a Samsung SoC EXYNOS chipset.
1112
If M is selected the module will be called exynosdrm.
@@ -26,7 +27,6 @@ config DRM_EXYNOS_FIMD
2627
bool "Exynos DRM FIMD"
2728
depends on DRM_EXYNOS && !FB_S3C && !ARCH_MULTIPLATFORM
2829
select FB_MODE_HELPERS
29-
select VIDEOMODE_HELPERS
3030
help
3131
Choose this option if you want to use Exynos FIMD for DRM.
3232

0 commit comments

Comments
 (0)