Skip to contentSkip to conversation

drm/msm: fix compilation when COMMON_CLK is disabled

PATCH In review Christian König 2 participants 2 messages Oct 7, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm: fix compilation when COMMON_CLK is disabled

We can't even compile test without this

Fixes b3ed524f84f5 ("drm/msm: allow compile_test on !ARM")
---
 drivers/gpu/drm/msm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/Kconfig +1 -1
index 5879f67bc88c..d9879b011fb0 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Christian König

We can't even compile test without this

Fixes b3ed524f84f5 ("drm/msm: allow compile_test on !ARM")
Quoted 20 lines
---
 drivers/gpu/drm/msm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/Kconfig +1 -2
index 5879f67bc88c..d9879b011fb0 100644
@@ -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