pinctrl: add include guard to pinctrl-state.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jun 2019 14:43:13 +0000 (23:43 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 9 Jun 2019 14:53:22 +0000 (16:53 +0200)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinctrl-state.h

index a0e785815a64bd523be92bea960b6332f2b8fa3f..635d97e9285e3eb137a8a5643d19adcb843cb0e4 100644 (file)
@@ -3,6 +3,9 @@
  * Standard pin control state definitions
  */
 
+#ifndef __LINUX_PINCTRL_PINCTRL_STATE_H
+#define __LINUX_PINCTRL_PINCTRL_STATE_H
+
 /**
  * @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put
  *     into as default, usually this means the pins are up and ready to
@@ -31,3 +34,5 @@
 #define PINCTRL_STATE_INIT "init"
 #define PINCTRL_STATE_IDLE "idle"
 #define PINCTRL_STATE_SLEEP "sleep"
+
+#endif /* __LINUX_PINCTRL_PINCTRL_STATE_H */