diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 18:52:10 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-14 01:46:35 +0300 |
commit | 26c682676471777c8464645695d3590b9134a5e7 (patch) | |
tree | d835c222f202a4d5e07f3f4400863bc9d88ed4b3 /drivers/cpufreq/cpufreq-dt-platdev.c | |
parent | dcf3d782ed10ef572dcafac9271690b3ce14dbf4 (diff) | |
download | linux-26c682676471777c8464645695d3590b9134a5e7.tar.xz |
soc: mediatek: mtk-svs: Add explicit include for cpu.h
Removing the include of cpu.h from of_device.h (included by
of_platform.h) causes an error:
drivers/soc/mediatek/mtk-svs.c:2134:41: error: implicit declaration of function 'get_cpu_device'; did you mean 'get_swap_device'? [-Werror=implicit-function-declaration]
of_platform.h is still needed for of_find_device_by_node().
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-13-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt-platdev.c')
0 files changed, 0 insertions, 0 deletions