Skip to contentSkip to conversation

video: imx: Select VIDEOMODE_HELPERS for parallel display

PATCH New Marek Vasut 2 participants 2 messages Apr 24, 2013 – Apr 26, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 video: imx: Select VIDEOMODE_HELPERS for parallel display

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

Cc Greg Kroah-Hartman <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Fabio Estevam <[email protected]>
---
 drivers/staging/imx-drm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

V2: Select VIDEOMODE_HELPERS only for parallel display

drivers/staging/imx-drm/Kconfig +1 -0
index 8c9e403..0550f01 100644
@@ -19,6 +19,7 @@ config DRM_IMX_FB_HELPER
 config DRM_IMX_PARALLEL_DISPLAY
 	tristate "Support for parallel displays"
 	depends on DRM_IMX
+	select VIDEOMODE_HELPERS
 
 config DRM_IMX_TVE
 	tristate "Support for TV and VGA displays"
Signature · 1 line
1.7.10.4
maintainer
#1 lore raw

PATCH v2 1/1 video: imx: Select VIDEOMODE_HELPERS for parallel display

Quoted 11 lines · Marek Vasut

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

Cc Greg Kroah-Hartman <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Fabio Estevam <[email protected]>
Quoted 22 lines
---
 drivers/staging/imx-drm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

V2: Select VIDEOMODE_HELPERS only for parallel display

drivers/staging/imx-drm/Kconfig +1 -0
index 8c9e403..0550f01 100644
@@ -19,6 +19,7 @@ config DRM_IMX_FB_HELPER
 config DRM_IMX_PARALLEL_DISPLAY
 	tristate "Support for parallel displays"
 	depends on DRM_IMX
+	select VIDEOMODE_HELPERS
 
 config DRM_IMX_TVE
 	tristate "Support for TV and VGA displays"
Signature · 1 line
1.7.10.4
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |