aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c/pm-core.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-02 18:37:30 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-22 13:02:02 +0200
commitc6ff132d4224022ffaa461ec771ec27c5319369c (patch)
treece00829c11c36a6ea725ad86f1c023ff9bbf4a40 /arch/arm/mach-s3c/pm-core.h
parentARM: s3c: move into a common directory (diff)
downloadlinux-dev-c6ff132d4224022ffaa461ec771ec27c5319369c.tar.xz
linux-dev-c6ff132d4224022ffaa461ec771ec27c5319369c.zip
ARM: s3c: make headers local if possible
A lot of header files are only used internally now, so they can be moved to mach-s3c, out of the visibility of drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200806182059.2431-40-krzk@kernel.org [krzk: Rebase and fixup leds-s3c24xx driver] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c/pm-core.h')
-rw-r--r--arch/arm/mach-s3c/pm-core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c/pm-core.h b/arch/arm/mach-s3c/pm-core.h
new file mode 100644
index 000000000000..b0e1d277f599
--- /dev/null
+++ b/arch/arm/mach-s3c/pm-core.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifdef CONFIG_ARCH_S3C24XX
+#include "pm-core-s3c24xx.h"
+#endif
+
+#ifdef CONFIG_ARCH_S3C64XX
+#include "pm-core-s3c64xx.h"
+#endif