drm/imx: imx-tve: depend on COMMON_CLK
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 18 Jan 2019 11:37:14 +0000 (12:37 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 22 Feb 2019 11:17:58 +0000 (12:17 +0100)
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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpu/drm/imx/Kconfig

index c9e439c..c554284 100644 (file)
@@ -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)