Skip to content

Commit

Permalink
ARM: SAMSUNG: Add missing include guard to gpio-core.h
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Spang <spang@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Michael Spang authored and Kukjin Kim committed Dec 19, 2012
1 parent d5fd5da commit d5c1b54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/plat-samsung/include/plat/gpio-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 */

0 comments on commit d5c1b54

Please sign in to comment.