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

drm/imx: depend on COMMON_CLK to fix compile tests

The iMX DRM LVDS driver uses Common Clock Framework thus it cannot be
built on platforms without it (e.g. compile test on MIPS with RALINK and
SOC_RT305X):

/usr/bin/mips-linux-gnu-ld: drivers/gpu/drm/imx/imx-ldb.o: in function `imx_ldb_encoder_disable':
imx-ldb.c:(.text+0x400): undefined reference to `clk_set_parent'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Krzysztof Kozlowski and committed by
Philipp Zabel
ccce5ea0 e08379eb

+1
+1
drivers/gpu/drm/imx/Kconfig
··· 28 28 config DRM_IMX_LDB 29 29 tristate "Support for LVDS displays" 30 30 depends on DRM_IMX && MFD_SYSCON 31 + depends on COMMON_CLK 31 32 select DRM_PANEL 32 33 help 33 34 Choose this to enable the internal LVDS Display Bridge (LDB)