Commit 75d1d3a4 authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Stephen Boyd

clk: qcom: Fix SM_GPUCC_8450 dependencies

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: 728692d4 ("clk: qcom: Add support for SM8450 GPUCC")
Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20230829-fix-sm_gpucc_8550-deps-v1-1-d751f6cd35b2@kernel.orgReviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 1b3e04a4
...@@ -986,6 +986,7 @@ config SM_GPUCC_8350 ...@@ -986,6 +986,7 @@ config SM_GPUCC_8350
config SM_GPUCC_8450 config SM_GPUCC_8450
tristate "SM8450 Graphics Clock Controller" tristate "SM8450 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8450 select SM_GCC_8450
help help
Support for the graphics clock controller on SM8450 devices. Support for the graphics clock controller on SM8450 devices.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment