diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-01-23 21:18:10 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-02-09 01:13:16 +0100 |
commit | 5930196eec0d5dc454db6418d82dcfb094c93373 (patch) | |
tree | dcfc01ae6a487ea922885eeca8122919fa6bded2 /drivers/clk/qcom/clk-cpu-8996.c | |
parent | clk: qcom: gcc-sa8775p: remove unused variables (diff) | |
download | linux-5930196eec0d5dc454db6418d82dcfb094c93373.tar.xz linux-5930196eec0d5dc454db6418d82dcfb094c93373.zip |
clk: qcom: cpu-8996: add missing cputype include
Include asm/cputype.h to fix ARMv7 compile test error:
drivers/clk/qcom/clk-cpu-8996.c: In function ‘qcom_cpu_clk_msm8996_acd_init’:
drivers/clk/qcom/clk-cpu-8996.c:468:16: error: implicit declaration of function ‘read_cpuid_mpidr’ [-Werror=implicit-function-declaration]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
[bjorn: Moved asm-include after linux/, per Stephen's request]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230123201812.1230039-1-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'drivers/clk/qcom/clk-cpu-8996.c')
-rw-r--r-- | drivers/clk/qcom/clk-cpu-8996.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-cpu-8996.c b/drivers/clk/qcom/clk-cpu-8996.c index ba9b7c3f8d3e..592c7c3cdeb7 100644 --- a/drivers/clk/qcom/clk-cpu-8996.c +++ b/drivers/clk/qcom/clk-cpu-8996.c @@ -60,6 +60,8 @@ #include <linux/regmap.h> #include <soc/qcom/kryo-l2-accessors.h> +#include <asm/cputype.h> + #include "clk-alpha-pll.h" #include "clk-regmap.h" #include "clk-regmap-mux.h" |