From: Michael Spang Date: Mon, 10 Dec 2012 01:08:00 +0000 (+0900) Subject: ARM: SAMSUNG: Add missing include guard to gpio-core.h X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~17510^2~2^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d5c1b541baa43d09206a1f6bcad6b32f50deb8be;p=mirror_ubuntu-focal-kernel.git ARM: SAMSUNG: Add missing include guard to gpio-core.h Signed-off-by: Michael Spang Signed-off-by: Kukjin Kim --- 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 */