Commit 51d1eda5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

pinctrl: samsung: Add include guard to local header

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Tested-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
parent 8208b28a
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* (at your option) any later version. * (at your option) any later version.
*/ */
#ifndef __PINCTRL_SAMSUNG_EXYNOS_H
#define __PINCTRL_SAMSUNG_EXYNOS_H
/* External GPIO and wakeup interrupt related definitions */ /* External GPIO and wakeup interrupt related definitions */
#define EXYNOS_GPIO_ECON_OFFSET 0x700 #define EXYNOS_GPIO_ECON_OFFSET 0x700
#define EXYNOS_GPIO_EFLTCON_OFFSET 0x800 #define EXYNOS_GPIO_EFLTCON_OFFSET 0x800
...@@ -131,3 +134,5 @@ struct exynos_muxed_weint_data { ...@@ -131,3 +134,5 @@ struct exynos_muxed_weint_data {
unsigned int nr_banks; unsigned int nr_banks;
struct samsung_pin_bank *banks[]; struct samsung_pin_bank *banks[];
}; };
#endif /* __PINCTRL_SAMSUNG_EXYNOS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment