diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-09 10:43:13 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-09 10:53:22 -0400 |
commit | f652e66fcca07e59f207bcca27c5566193feabd5 (patch) | |
tree | 964a34fbb84895c9a005b77fcd0f918b2d6d1387 | |
parent | d6e561df50b5a7e33273f66f97bf2b4ff25f13b4 (diff) |
pinctrl: add include guard to pinctrl-state.h
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | include/linux/pinctrl/pinctrl-state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pinctrl/pinctrl-state.h b/include/linux/pinctrl/pinctrl-state.h index a0e785815a64..635d97e9285e 100644 --- a/include/linux/pinctrl/pinctrl-state.h +++ b/include/linux/pinctrl/pinctrl-state.h | |||
@@ -3,6 +3,9 @@ | |||
3 | * Standard pin control state definitions | 3 | * Standard pin control state definitions |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef __LINUX_PINCTRL_PINCTRL_STATE_H | ||
7 | #define __LINUX_PINCTRL_PINCTRL_STATE_H | ||
8 | |||
6 | /** | 9 | /** |
7 | * @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put | 10 | * @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put |
8 | * into as default, usually this means the pins are up and ready to | 11 | * into as default, usually this means the pins are up and ready to |
@@ -31,3 +34,5 @@ | |||
31 | #define PINCTRL_STATE_INIT "init" | 34 | #define PINCTRL_STATE_INIT "init" |
32 | #define PINCTRL_STATE_IDLE "idle" | 35 | #define PINCTRL_STATE_IDLE "idle" |
33 | #define PINCTRL_STATE_SLEEP "sleep" | 36 | #define PINCTRL_STATE_SLEEP "sleep" |
37 | |||
38 | #endif /* __LINUX_PINCTRL_PINCTRL_STATE_H */ | ||