diff mbox series

soc: qcom: restrict L2 accessors to ARM64 build tests

Message ID 20230123202601.1296983-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 34bb2c1c1bb5d36487c1e7ff00dbf49bb91056e2
Headers show
Series soc: qcom: restrict L2 accessors to ARM64 build tests | expand

Commit Message

Krzysztof Kozlowski Jan. 23, 2023, 8:26 p.m. UTC
The QCOM_KRYO_L2_ACCESSORS can be compile tested only on ARM64 because
it references asm/sysreg.h present only on ARM64.  Mark the dependency
correct, even though as a non-selectable option it does not have real
effect.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/soc/qcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bjorn Andersson March 15, 2023, 11:35 p.m. UTC | #1
On Mon, 23 Jan 2023 21:26:01 +0100, Krzysztof Kozlowski wrote:
> The QCOM_KRYO_L2_ACCESSORS can be compile tested only on ARM64 because
> it references asm/sysreg.h present only on ARM64.  Mark the dependency
> correct, even though as a non-selectable option it does not have real
> effect.
> 
> 

Applied, thanks!

[1/1] soc: qcom: restrict L2 accessors to ARM64 build tests
      commit: 34bb2c1c1bb5d36487c1e7ff00dbf49bb91056e2

Best regards,
diff mbox series

Patch

diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 21c4ce2315ba..96b5d0a4ed48 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -80,7 +80,7 @@  config QCOM_DCC
 
 config QCOM_KRYO_L2_ACCESSORS
 	bool
-	depends on ARCH_QCOM && ARM64 || COMPILE_TEST
+	depends on (ARCH_QCOM || COMPILE_TEST) && ARM64
 
 config QCOM_MDT_LOADER
 	tristate