This patch adds header file protection macros to prevent duplication.
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org --- arch/arm/mach-exynos4/include/mach/pm-core.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos4/include/mach/pm-core.h b/arch/arm/mach-exynos4/include/mach/pm-core.h index 1df3b81..4c3406b 100644 --- a/arch/arm/mach-exynos4/include/mach/pm-core.h +++ b/arch/arm/mach-exynos4/include/mach/pm-core.h @@ -14,6 +14,10 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +#ifndef __ASM_ARCH_PM_CORE_H +#define __ASM_ARCH_PM_CORE_H __FILE__ + #include <mach/regs-pmu.h>
static inline void s3c_pm_debug_init_uart(void) @@ -57,3 +61,5 @@ static inline void s3c_pm_saved_gpios(void) { /* nothing here yet */ } + +#endif /* __ASM_ARCH_PM_CORE_H */
Sachin Kamat wrote:
This patch adds header file protection macros to prevent duplication.
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org
arch/arm/mach-exynos4/include/mach/pm-core.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos4/include/mach/pm-core.h b/arch/arm/mach- exynos4/include/mach/pm-core.h index 1df3b81..4c3406b 100644 --- a/arch/arm/mach-exynos4/include/mach/pm-core.h +++ b/arch/arm/mach-exynos4/include/mach/pm-core.h @@ -14,6 +14,10 @@
- it under the terms of the GNU General Public License version 2 as
- published by the Free Software Foundation.
*/
+#ifndef __ASM_ARCH_PM_CORE_H +#define __ASM_ARCH_PM_CORE_H __FILE__
#include <mach/regs-pmu.h>
static inline void s3c_pm_debug_init_uart(void) @@ -57,3 +61,5 @@ static inline void s3c_pm_saved_gpios(void) { /* nothing here yet */ }
+#endif /* __ASM_ARCH_PM_CORE_H */
1.7.4.1
OK, will apply. Thanks.
Best regards, Kgene. -- Kukjin Kim kgene.kim@samsung.com, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.