summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-01-18 12:37:14 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-01-23 11:58:55 +0100
commitfedd7bcef58d26730f3cd3337d2c3650b627a950 (patch)
treeb0ec9c992e3257c1a08c931996b4e8bd091016ec
parent7e92397d3a8377ec3f427b2f8cb539301c6f89df (diff)
downloadlinux-0-day-fedd7bcef58d26730f3cd3337d2c3650b627a950.tar.gz
linux-0-day-fedd7bcef58d26730f3cd3337d2c3650b627a950.tar.xz
drm/imx: imx-tve: depend on COMMON_CLK
Since the TVE provides a clock to the DI, the driver can only be compiled if the common clock framework is enabled. With the COMMON_CLK dependency in place, it will be possible to allow building the other parts of imx-drm under COMPILE_TEST on architectures that do not select the common clock framework. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--drivers/gpu/drm/imx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx/Kconfig
index c9e439c82241c..c55428490e56b 100644
--- a/drivers/gpu/drm/imx/Kconfig
+++ b/drivers/gpu/drm/imx/Kconfig
@@ -18,6 +18,7 @@ config DRM_IMX_PARALLEL_DISPLAY
config DRM_IMX_TVE
tristate "Support for TV and VGA displays"
depends on DRM_IMX
+ depends on COMMON_CLK
select REGMAP_MMIO
help
Choose this to enable the internal Television Encoder (TVe)