]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: dw_hdmi-imx: depend on OF to fix randconfig compile tests on x86_64
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 6 Jan 2021 17:19:10 +0000 (18:19 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 7 Jan 2021 10:54:21 +0000 (11:54 +0100)
commit53a60c44c1f4831c77f35b26654d897014ca8890
tree5fea81b262c3b41417cdcb13c839f93198812c9c
parentc136ef6fa2dac965a7a8c359bd782b8f4d10f7db
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: 743a1bc3669b ("drm/imx: dw_hdmi-imx: move initialization into probe")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/Kconfig