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>
This commit is contained in:

committed by
Linus Walleij

parent
d6e561df50
commit
f652e66fcc
@@ -3,6 +3,9 @@
|
|||||||
* Standard pin control state definitions
|
* 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
|
* @PINCTRL_STATE_DEFAULT: the state the pinctrl handle shall be put
|
||||||
* into as default, usually this means the pins are up and ready to
|
* 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_INIT "init"
|
||||||
#define PINCTRL_STATE_IDLE "idle"
|
#define PINCTRL_STATE_IDLE "idle"
|
||||||
#define PINCTRL_STATE_SLEEP "sleep"
|
#define PINCTRL_STATE_SLEEP "sleep"
|
||||||
|
|
||||||
|
#endif /* __LINUX_PINCTRL_PINCTRL_STATE_H */
|
||||||
|
Reference in New Issue
Block a user