Skip to content

Commit f652e66

Browse files
masahir0yLinus Walleij
authored andcommitted
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>
1 parent d6e561d commit f652e66

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/linux/pinctrl/pinctrl-state.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Standard pin control state definitions
44
*/
55

6+
#ifndef __LINUX_PINCTRL_PINCTRL_STATE_H
7+
#define __LINUX_PINCTRL_PINCTRL_STATE_H
8+
69
/**
710
* @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put
811
* into as default, usually this means the pins are up and ready to
@@ -31,3 +34,5 @@
3134
#define PINCTRL_STATE_INIT "init"
3235
#define PINCTRL_STATE_IDLE "idle"
3336
#define PINCTRL_STATE_SLEEP "sleep"
37+
38+
#endif /* __LINUX_PINCTRL_PINCTRL_STATE_H */

0 commit comments

Comments
 (0)