diff options
author | Michael Spang <spang@chromium.org> | 2012-12-10 10:08:00 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-12-18 19:00:25 -0800 |
commit | d5c1b541baa43d09206a1f6bcad6b32f50deb8be (patch) | |
tree | e1e369805e40ed77fdf3b68d81f676f420f586f0 /arch | |
parent | d5fd5da290cef159be1295c162b4c71b8c1971a2 (diff) | |
download | linux-stable-d5c1b541baa43d09206a1f6bcad6b32f50deb8be.tar.gz linux-stable-d5c1b541baa43d09206a1f6bcad6b32f50deb8be.tar.bz2 linux-stable-d5c1b541baa43d09206a1f6bcad6b32f50deb8be.zip |
ARM: SAMSUNG: Add missing include guard to gpio-core.h
Signed-off-by: Michael Spang <spang@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | 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 dfd8b7af8c7a..f7a3ea2c498a 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) @@ -124,3 +127,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 */ |