[RFC][PATCH] video: imx: Select VIDEOMODE_HELPERS

Marek Vasut marex at denx.de
Mon Apr 22 17:28:30 EDT 2013


Without this, I get the following problem when building kernel:

drivers/built-in.o: In function `imx_pd_connector_get_modes':
/linux-2.6/drivers/staging/imx-drm/parallel-display.c:78: undefined reference to `of_get_drm_display_mode'
make: *** [vmlinux] Error 1

NOTE: I think this patch is almost absolutely not correct.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Philipp Zabel <p.zabel at pengutronix.de>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
---
 drivers/staging/imx-drm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/imx-drm/Kconfig b/drivers/staging/imx-drm/Kconfig
index 8c9e403..5ad9165 100644
--- a/drivers/staging/imx-drm/Kconfig
+++ b/drivers/staging/imx-drm/Kconfig
@@ -1,6 +1,7 @@
 config DRM_IMX
 	tristate "DRM Support for Freescale i.MX"
 	select DRM_KMS_HELPER
+	select VIDEOMODE_HELPERS
 	select DRM_GEM_CMA_HELPER
 	select DRM_KMS_CMA_HELPER
 	depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM)
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list