]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
pinctrl: samsung: Add include guard to local header
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 16 May 2017 20:06:48 +0000 (22:06 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 24 May 2017 16:42:26 +0000 (18:42 +0200)
The pinctrl-exynos.h header is included only once so till now it did not
require an include guard.  However adding such is harmless and makes
code prepared for more inclusions.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
drivers/pinctrl/samsung/pinctrl-exynos.h

index cd046eb7d705682fae1293abf432b9d04465328f..ffad70458129dc5dc5aa4c094560fed47441ebca 100644 (file)
@@ -17,6 +17,9 @@
  * (at your option) any later version.
  */
 
+#ifndef __PINCTRL_SAMSUNG_EXYNOS_H
+#define __PINCTRL_SAMSUNG_EXYNOS_H
+
 /* External GPIO and wakeup interrupt related definitions */
 #define EXYNOS_GPIO_ECON_OFFSET                0x700
 #define EXYNOS_GPIO_EFLTCON_OFFSET     0x800
@@ -131,3 +134,5 @@ struct exynos_muxed_weint_data {
        unsigned int nr_banks;
        struct samsung_pin_bank *banks[];
 };
+
+#endif /* __PINCTRL_SAMSUNG_EXYNOS_H */