]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: S3C64XX: Add header file protection macros in pm-core.h
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 19 Jul 2012 05:42:10 +0000 (14:42 +0900)
committerArnd Bergmann <arnd@arndb.de>
Sat, 21 Jul 2012 21:33:49 +0000 (23:33 +0200)
Adds header file protection macros.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/include/mach/pm-core.h

index fcf3dcabb6944678e9dfabd5cbc67a3e490deade..c0537f40a3d859205fb7609ad912fa8ecf64c053 100644 (file)
@@ -12,6 +12,9 @@
  * published by the Free Software Foundation.
  */
 
+#ifndef __MACH_S3C64XX_PM_CORE_H
+#define __MACH_S3C64XX_PM_CORE_H __FILE__
+
 #include <mach/regs-gpio.h>
 
 static inline void s3c_pm_debug_init_uart(void)
@@ -113,3 +116,4 @@ static inline void samsung_pm_saved_gpios(void)
 
        __raw_writel(S3C64XX_SLPEN_USE_xSLP, S3C64XX_SLPEN);
 }
+#endif /* __MACH_S3C64XX_PM_CORE_H */