This source file includes following definitions.
- pinctrl_bind_pins
- pinctrl_init_done
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef PINCTRL_DEVINFO_H
15 #define PINCTRL_DEVINFO_H
16
17 #ifdef CONFIG_PINCTRL
18
19
20 #include <linux/pinctrl/consumer.h>
21
22
23
24
25
26
27
28
29
30 struct dev_pin_info {
31 struct pinctrl *p;
32 struct pinctrl_state *default_state;
33 struct pinctrl_state *init_state;
34 #ifdef CONFIG_PM
35 struct pinctrl_state *sleep_state;
36 struct pinctrl_state *idle_state;
37 #endif
38 };
39
40 extern int pinctrl_bind_pins(struct device *dev);
41 extern int pinctrl_init_done(struct device *dev);
42
43 #else
44
45 struct device;
46
47
48
49 static inline int pinctrl_bind_pins(struct device *dev)
50 {
51 return 0;
52 }
53
54 static inline int pinctrl_init_done(struct device *dev)
55 {
56 return 0;
57 }
58
59 #endif
60 #endif