提交 b5db361e 编写于 作者: A Arnd Bergmann 提交者: Philipp Zabel

drm/mediatek: add CONFIG_OF dependency

The mediatek DRM driver can be configured for compile testing with
CONFIG_OF disabled, but then fails to link:

drivers/gpu/built-in.o: In function `mtk_drm_bind':
analogix_dp_reg.c:(.text+0x52888): undefined reference to `of_find_device_by_node'
analogix_dp_reg.c:(.text+0x52930): undefined reference to `of_find_device_by_node'

This adds an explicit Kconfig dependency.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Link: https://patchwork.kernel.org/patch/9120871/Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 851da9ac
......@@ -3,6 +3,7 @@ config DRM_MEDIATEK
depends on DRM
depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
depends on COMMON_CLK
depends on OF
select DRM_GEM_CMA_HELPER
select DRM_KMS_HELPER
select DRM_MIPI_DSI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册