RE: [PATCH] samsung: Add missing include guard to gpio-core.h
Michael Spang wrote: > > Signed-off-by: Michael Spang > --- > arch/arm/plat-samsung/include/plat/gpio-core.h |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h > b/arch/arm/plat-samsung/include/plat/gpio-core.h > index 1fe6917..8622c9a 100644 > --- a/arch/arm/plat-samsung/include/plat/gpio-core.h > +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h > @@ -11,6 +11,9 @@ > * published by the Free Software Foundation. > */ > > +#ifndef __PLAT_SAMSUNG_GPIO_CORE_H > +#define __PLAT_SAMSUNG_GPIO_CORE_H > + > #define GPIOCON_OFF (0x00) > #define GPIODAT_OFF (0x04) > > @@ -122,3 +125,5 @@ extern struct samsung_gpio_pm samsung_gpio_pm_4bit; > /* locking wrappers to deal with multiple access to the same gpio bank */ > #define samsung_gpio_lock(_oc, _fl) spin_lock_irqsave(&(_oc)->lock, _fl) > #define samsung_gpio_unlock(_oc, _fl) spin_unlock_irqrestore(&(_oc)->lock, > _fl) > + > +#endif /* __PLAT_SAMSUNG_GPIO_CORE_H */ > -- > 1.7.7.3 Applied, thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
RE: [PATCH] samsung: Add missing include guard to gpio-core.h
Michael Spang wrote: Signed-off-by: Michael Spang sp...@chromium.org --- arch/arm/plat-samsung/include/plat/gpio-core.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h index 1fe6917..8622c9a 100644 --- a/arch/arm/plat-samsung/include/plat/gpio-core.h +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h @@ -11,6 +11,9 @@ * published by the Free Software Foundation. */ +#ifndef __PLAT_SAMSUNG_GPIO_CORE_H +#define __PLAT_SAMSUNG_GPIO_CORE_H + #define GPIOCON_OFF (0x00) #define GPIODAT_OFF (0x04) @@ -122,3 +125,5 @@ extern struct samsung_gpio_pm samsung_gpio_pm_4bit; /* locking wrappers to deal with multiple access to the same gpio bank */ #define samsung_gpio_lock(_oc, _fl) spin_lock_irqsave((_oc)-lock, _fl) #define samsung_gpio_unlock(_oc, _fl) spin_unlock_irqrestore((_oc)-lock, _fl) + +#endif /* __PLAT_SAMSUNG_GPIO_CORE_H */ -- 1.7.7.3 Applied, thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/