]> Git Repo - J-linux.git/commitdiff
clk: qcom: Fix SM_GPUCC_8450 dependencies
authorNathan Chancellor <[email protected]>
Tue, 29 Aug 2023 14:08:47 +0000 (07:08 -0700)
committerStephen Boyd <[email protected]>
Tue, 29 Aug 2023 22:29:39 +0000 (15:29 -0700)
CONFIG_SM_GCC_8450 depends on ARM64 but it is selected by
CONFIG_SM_GPUCC_8450, which can be selected on ARM, resulting in a
Kconfig warning.

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

Add the same dependencies to CONFIG_SM_GPUCC_8450 to resolve the
warning.

Fixes: 728692d49edc ("clk: qcom: Add support for SM8450 GPUCC")
Signed-off-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/qcom/Kconfig

index bd9bfb11b3283b6d47f023f494114f21279c9a63..865db5202e4cfe124470d9a365046e645a01c51e 100644 (file)
@@ -986,6 +986,7 @@ config SM_GPUCC_8350
 
 config SM_GPUCC_8450
        tristate "SM8450 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8450
        help
          Support for the graphics clock controller on SM8450 devices.
This page took 0.054841 seconds and 4 git commands to generate.