Message ID | 1342516420-30188-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
Sachin Kamat wrote: > > Adds header file protection macros. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > arch/arm/mach-s3c64xx/include/mach/pm-core.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-s3c64xx/include/mach/pm-core.h b/arch/arm/mach- > s3c64xx/include/mach/pm-core.h > index fcf3dca..c9be9dd 100644 > --- a/arch/arm/mach-s3c64xx/include/mach/pm-core.h > +++ b/arch/arm/mach-s3c64xx/include/mach/pm-core.h > @@ -12,6 +12,9 @@ > * published by the Free Software Foundation. > */ > > +#ifndef __S3C64XX_PM_CORE_H > +#define __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 /* __S3C64XX_PM_CORE_H */ > -- > 1.7.4.1 Applied, thanks. Best regards, Kgene. -- Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
diff --git a/arch/arm/mach-s3c64xx/include/mach/pm-core.h b/arch/arm/mach-s3c64xx/include/mach/pm-core.h index fcf3dca..c9be9dd 100644 --- a/arch/arm/mach-s3c64xx/include/mach/pm-core.h +++ b/arch/arm/mach-s3c64xx/include/mach/pm-core.h @@ -12,6 +12,9 @@ * published by the Free Software Foundation. */ +#ifndef __S3C64XX_PM_CORE_H +#define __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 /* __S3C64XX_PM_CORE_H */
Adds header file protection macros. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- arch/arm/mach-s3c64xx/include/mach/pm-core.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)