From: Philipp Zabel
Date: Mon, 5 Nov 2018 15:36:27 +0000 (+0100)
Subject: drm/imx: allow building under COMPILE_TEST
X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f6019702d9646da03c11bb5c9bd89e23ccc4e14d;p=openwrt%2Fstaging%2Fblogic.git
drm/imx: allow building under COMPILE_TEST
Allow to compile-test imx-drm on other platforms.
Signed-off-by: Philipp Zabel
Reviewed-by: Linus Walleij
---
diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx/Kconfig
index c55428490e56..c3c84a09e628 100644
--- a/drivers/gpu/drm/imx/Kconfig
+++ b/drivers/gpu/drm/imx/Kconfig
@@ -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