diff mbox series

clk: qcom: Fix SM_CAMCC_8150 dependencies

Message ID 20240813085846.941855-1-quic_skakitap@quicinc.com
State New
Headers show
Series clk: qcom: Fix SM_CAMCC_8150 dependencies | expand

Commit Message

Satya Priya Kakitapalli Aug. 13, 2024, 8:58 a.m. UTC
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(+)

Comments

Bjorn Andersson Aug. 15, 2024, 8:40 p.m. UTC | #1
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,
diff mbox series

Patch

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