diff options
Diffstat (limited to 'drivers/pinctrl/pinconf.h')
-rw-r--r-- | drivers/pinctrl/pinconf.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/pinctrl/pinconf.h b/drivers/pinctrl/pinconf.h index 54510de5e8c6..e3ed8cb072a5 100644 --- a/drivers/pinctrl/pinconf.h +++ b/drivers/pinctrl/pinconf.h | |||
@@ -19,11 +19,6 @@ int pinconf_map_to_setting(struct pinctrl_map const *map, | |||
19 | struct pinctrl_setting *setting); | 19 | struct pinctrl_setting *setting); |
20 | void pinconf_free_setting(struct pinctrl_setting const *setting); | 20 | void pinconf_free_setting(struct pinctrl_setting const *setting); |
21 | int pinconf_apply_setting(struct pinctrl_setting const *setting); | 21 | int pinconf_apply_setting(struct pinctrl_setting const *setting); |
22 | void pinconf_show_map(struct seq_file *s, struct pinctrl_map const *map); | ||
23 | void pinconf_show_setting(struct seq_file *s, | ||
24 | struct pinctrl_setting const *setting); | ||
25 | void pinconf_init_device_debugfs(struct dentry *devroot, | ||
26 | struct pinctrl_dev *pctldev); | ||
27 | 22 | ||
28 | /* | 23 | /* |
29 | * You will only be interested in these if you're using PINCONF | 24 | * You will only be interested in these if you're using PINCONF |
@@ -61,6 +56,18 @@ static inline int pinconf_apply_setting(struct pinctrl_setting const *setting) | |||
61 | return 0; | 56 | return 0; |
62 | } | 57 | } |
63 | 58 | ||
59 | #endif | ||
60 | |||
61 | #if defined(CONFIG_PINCONF) && defined(CONFIG_DEBUG_FS) | ||
62 | |||
63 | void pinconf_show_map(struct seq_file *s, struct pinctrl_map const *map); | ||
64 | void pinconf_show_setting(struct seq_file *s, | ||
65 | struct pinctrl_setting const *setting); | ||
66 | void pinconf_init_device_debugfs(struct dentry *devroot, | ||
67 | struct pinctrl_dev *pctldev); | ||
68 | |||
69 | #else | ||
70 | |||
64 | static inline void pinconf_show_map(struct seq_file *s, | 71 | static inline void pinconf_show_map(struct seq_file *s, |
65 | struct pinctrl_map const *map) | 72 | struct pinctrl_map const *map) |
66 | { | 73 | { |