Skip to content

Commit 5930196

Browse files
krzkandersson
authored andcommitted
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 <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> [bjorn: Moved asm-include after linux/, per Stephen's request] Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e710abb commit 5930196

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/qcom/clk-cpu-8996.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
#include <linux/regmap.h>
6161
#include <soc/qcom/kryo-l2-accessors.h>
6262

63+
#include <asm/cputype.h>
64+
6365
#include "clk-alpha-pll.h"
6466
#include "clk-regmap.h"
6567
#include "clk-regmap-mux.h"

0 commit comments

Comments
 (0)