summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-08-06 20:20:52 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-20 17:52:05 +0200
commit81b11a6a09964cfea4c525d22548790a1d92d38f (patch)
tree2f1caee50d56b318114f3e6929ca1923cabc8f2d /drivers/cpufreq/s3c2440-cpufreq.c
parentcpufreq: s3c24xx: split out registers (diff)
downloadlinux-81b11a6a09964cfea4c525d22548790a1d92d38f.tar.xz
linux-81b11a6a09964cfea4c525d22548790a1d92d38f.zip
ARM: s3c: remove cpufreq header dependencies
The cpufreq drivers are split between the machine directory and the drivers/cpufreq directory. In order to share header files after we convert s3c to multiplatform, those headers have to live in a different global location. Move them to linux/soc/samsung/ in lack of a better place. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://lore.kernel.org/r/20200806182059.2431-35-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/cpufreq/s3c2440-cpufreq.c')
-rw-r--r--drivers/cpufreq/s3c2440-cpufreq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/cpufreq/s3c2440-cpufreq.c b/drivers/cpufreq/s3c2440-cpufreq.c
index 5fe7a891fa13..442abdccb9c1 100644
--- a/drivers/cpufreq/s3c2440-cpufreq.c
+++ b/drivers/cpufreq/s3c2440-cpufreq.c
@@ -20,13 +20,12 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
+#include <linux/soc/samsung/s3c-cpufreq-core.h>
+#include <linux/soc/samsung/s3c-pm.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
-#include <plat/cpu.h>
-#include <plat/cpu-freq-core.h>
-
#include <mach/map.h>
#define S3C2410_CLKREG(x) ((x) + S3C24XX_VA_CLKPWR)