]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: EXYNOS: remove inclusion <mach/regs-pmu.h> into another headers
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 18 Dec 2013 19:01:24 +0000 (04:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 18 Dec 2013 20:21:07 +0000 (05:21 +0900)
This is needed to remove dependency of headers.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/include/mach/pm-core.h
arch/arm/mach-exynos/include/mach/regs-clock.h
arch/arm/mach-exynos/pmu.c
arch/arm/mach-exynos/regs-pmu.h [moved from arch/arm/mach-exynos/include/mach/regs-pmu.h with 99% similarity]

index 2b00833b6641d862ace121280d06da577ddd4a97..dc0697c2fa927c4065248cc4fe1acc4e0ee3e9be 100644 (file)
 #define __ASM_ARCH_PM_CORE_H __FILE__
 
 #include <linux/of.h>
-#include <mach/regs-pmu.h>
+#include <mach/map.h>
+
+#define S5P_EINT_WAKEUP_MASK                   (S5P_VA_PMU + 0x0604)
+#define S5P_WAKEUP_MASK                                (S5P_VA_PMU + 0x0608)
 
 #ifdef CONFIG_PINCTRL_EXYNOS
 extern u32 exynos_get_eint_wake_mask(void);
index d36ad76ad6a46cbab1f07e1c3d9e2a4cde230cd7..93dcf7fb293d861873226f97c9d1e4b50b0d30e3 100644 (file)
 
 /* Compatibility defines and inclusion */
 
-#include <mach/regs-pmu.h>
-
 #define S5P_EPLL_CON                           EXYNOS4_EPLL_CON0
 
 #endif /* __ASM_ARCH_REGS_CLOCK_H */
index 6609145312aca6785e03959e5aa4c4842f163d04..e9f7370111f8f2dd87cc2a50168d8d8144c0ad93 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/bug.h>
 
 #include <mach/regs-clock.h>
+#include <mach/regs-pmu.h>
 
 #include "common.h"
 
similarity index 99%
rename from arch/arm/mach-exynos/include/mach/regs-pmu.h
rename to arch/arm/mach-exynos/regs-pmu.h
index 2c15a8fbcb5a9f6f2542c6963714277634e8e29a..7c029ce27711d7b8fa2737098e1662befe322ebe 100644 (file)
@@ -31,8 +31,6 @@
 #define EXYNOS5440_SWRESET                     S5P_PMUREG(0x00C4)
 
 #define S5P_WAKEUP_STAT                                S5P_PMUREG(0x0600)
-#define S5P_EINT_WAKEUP_MASK                   S5P_PMUREG(0x0604)
-#define S5P_WAKEUP_MASK                                S5P_PMUREG(0x0608)
 
 #define S5P_INFORM0                            S5P_PMUREG(0x0800)
 #define S5P_INFORM1                            S5P_PMUREG(0x0804)