summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/include/mach/regs-clock.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-08-06 21:20:55 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-20 18:54:19 +0300
commita3814e55b411e8cdb352637c65925f60b9ac15cc (patch)
tree48bf8f5eba1dc381d2608b3844564164fd191ba2 /arch/arm/mach-s3c24xx/include/mach/regs-clock.h
parentc38758e3d574380ccfa583793be14c1cc8a322ff (diff)
downloadlinux-a3814e55b411e8cdb352637c65925f60b9ac15cc.tar.xz
ARM: s3c24xx: stop including mach/hardware.h from mach/io.h
A number of other files rely on mach/map.h to be indirectly included from mach/io.h through mach/hardware.h. Reduce this to the minimal plat/map-base.h and add explicit includes everywhere else. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200806182059.2431-38-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/include/mach/regs-clock.h')
-rw-r--r--arch/arm/mach-s3c24xx/include/mach/regs-clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/include/mach/regs-clock.h b/arch/arm/mach-s3c24xx/include/mach/regs-clock.h
index 7ca3dd4f13c0..da4e7b3aeba6 100644
--- a/arch/arm/mach-s3c24xx/include/mach/regs-clock.h
+++ b/arch/arm/mach-s3c24xx/include/mach/regs-clock.h
@@ -9,6 +9,8 @@
#ifndef __ASM_ARM_REGS_CLOCK
#define __ASM_ARM_REGS_CLOCK
+#include <mach/map.h>
+
#define S3C2410_CLKREG(x) ((x) + S3C24XX_VA_CLKPWR)
#define S3C2410_PLLVAL(_m,_p,_s) ((_m) << 12 | ((_p) << 4) | ((_s)))