[PATCH] clk: qcom: Fix SM_CAMCC_8150 dependencies

Satya Priya Kakitapalli posted 1 patch 1 year, 6 months ago
drivers/clk/qcom/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] clk: qcom: Fix SM_CAMCC_8150 dependencies
Posted by Satya Priya Kakitapalli 1 year, 6 months ago
SM_CAMCC_8150 depends on SM_GCC_8150, which inturn depends on ARM64.
Hence add the dependency to avoid below kernel-bot warning.

WARNING: unmet direct dependencies detected for SM_GCC_8150
Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=y] && (ARM64 || COMPILE_TEST [=n])
Selected by [y]:
- SM_CAMCC_8150 [=y] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=y]

Fixes: ea73b7aceff6 ("clk: qcom: Add camera clock controller driver for SM8150")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408020234.jg9wrvhd-lkp@intel.com/
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
 drivers/clk/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index cf6ad908327f..416002d97062 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -828,6 +828,7 @@ config SM_CAMCC_7150
 
 config SM_CAMCC_8150
 	tristate "SM8150 Camera Clock Controller"
+	depends on ARM64 || COMPILE_TEST
 	select SM_GCC_8150
 	help
 	  Support for the camera clock controller on Qualcomm Technologies, Inc
-- 
2.25.1
Re: [PATCH] clk: qcom: Fix SM_CAMCC_8150 dependencies
Posted by Bjorn Andersson 1 year, 5 months ago
On Tue, 13 Aug 2024 14:28:46 +0530, Satya Priya Kakitapalli wrote:
> SM_CAMCC_8150 depends on SM_GCC_8150, which inturn depends on ARM64.
> Hence add the dependency to avoid below kernel-bot warning.
> 
> WARNING: unmet direct dependencies detected for SM_GCC_8150
> Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=y] && (ARM64 || COMPILE_TEST [=n])
> Selected by [y]:
> - SM_CAMCC_8150 [=y] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=y]
> 
> [...]

Applied, thanks!

[1/1] clk: qcom: Fix SM_CAMCC_8150 dependencies
      commit: 82ceaf6bcd7c7d01049c13f2461cc7830af41d53

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>