OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fd5da
)
ARM: SAMSUNG: Add missing include guard to gpio-core.h
author
Michael Spang
<spang@chromium.org>
Mon, 10 Dec 2012 01:08:00 +0000
(10:08 +0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Wed, 19 Dec 2012 03:00:25 +0000
(19:00 -0800)
Signed-off-by: Michael Spang <spang@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/gpio-core.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-samsung/include/plat/gpio-core.h
b/arch/arm/plat-samsung/include/plat/gpio-core.h
index
dfd8b7a
..
f7a3ea2
100644
(file)
--- 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 */