From: Satya Priya Kakitapalli Date: Tue, 13 Aug 2024 08:58:46 +0000 (+0530) Subject: clk: qcom: Fix SM_CAMCC_8150 dependencies X-Git-Tag: v6.12-rc1~83^2~1^5^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ceaf6bcd7c7d01049c13f2461cc7830af41d53;p=thirdparty%2Fkernel%2Flinux.git clk: qcom: Fix SM_CAMCC_8150 dependencies 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 Closes: https://lore.kernel.org/oe-kbuild-all/202408020234.jg9wrvhd-lkp@intel.com/ Signed-off-by: Satya Priya Kakitapalli Link: https://lore.kernel.org/r/20240813085846.941855-1-quic_skakitap@quicinc.com Signed-off-by: Bjorn Andersson --- diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index e110a57ae439f..a3e2a09e2105b 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -836,6 +836,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