[PATCH] drm/msm: fix compilation when COMMON_CLK is disabled

Christian König ckoenig.leichtzumerken at gmail.com
Thu Oct 7 09:13:32 UTC 2021


We can't even compile test without this

Fixes: b3ed524f84f5 ("drm/msm: allow compile_test on !ARM")
Signed-off-by: Christian König <christian.koenig at amd.com>
---
 drivers/gpu/drm/msm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index 5879f67bc88c..d9879b011fb0 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -5,7 +5,7 @@ config DRM_MSM
 	depends on DRM
 	depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST
 	depends on IOMMU_SUPPORT
-	depends on (OF && COMMON_CLK) || COMPILE_TEST
+	depends on (OF || COMPILE_TEST) && COMMON_CLK
 	depends on QCOM_OCMEM || QCOM_OCMEM=n
 	depends on QCOM_LLCC || QCOM_LLCC=n
 	depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n
-- 
2.25.1



More information about the dri-devel mailing list