Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/imx: dw_hdmi-imx: depend on OF to fix randconfig compile tests on x86_64

The i.MX6 HDMI driver uses of_drm_find_bridge() and thus cannot be built
with CONFIG_OF disabled:

ld: drivers/gpu/drm/imx/dw_hdmi-imx.o: in function `dw_hdmi_imx_probe':
dw_hdmi-imx.c:(.text+0x29f): undefined reference to `of_drm_find_bridge'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Fixes: c805ec7eb210 ("drm/imx: dw_hdmi-imx: move initialization into probe")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

+1 -1
+1 -1
drivers/gpu/drm/imx/Kconfig
··· 37 37 config DRM_IMX_HDMI 38 38 tristate "Freescale i.MX DRM HDMI" 39 39 select DRM_DW_HDMI 40 - depends on DRM_IMX 40 + depends on DRM_IMX && OF 41 41 help 42 42 Choose this if you want to use HDMI on i.MX6. 43 43