drm/imx: allow building under COMPILE_TEST
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 5 Nov 2018 15:36:27 +0000 (16:36 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 22 Feb 2019 11:17:58 +0000 (12:17 +0100)
Allow to compile-test imx-drm on other platforms.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpu/drm/imx/Kconfig

index c55428490e56b697fb88f331d63961f45dda5cdf..c3c84a09e628add39abe1efb243a9f0fc9c113f3 100644 (file)
@@ -4,7 +4,7 @@ config DRM_IMX
        select VIDEOMODE_HELPERS
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_CMA_HELPER
-       depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM)
+       depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM || COMPILE_TEST)
        depends on IMX_IPUV3_CORE
        help
          enable i.MX graphics support