diff options
Diffstat (limited to 'include/linux/pinctrl/pinconf-generic.h')
-rw-r--r-- | include/linux/pinctrl/pinconf-generic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h index bf7e989abcb5..a472b93292a3 100644 --- a/include/linux/pinctrl/pinconf-generic.h +++ b/include/linux/pinctrl/pinconf-generic.h | |||
@@ -137,6 +137,12 @@ static inline unsigned long pinconf_to_config_packed(enum pin_config_param param | |||
137 | return PIN_CONF_PACKED(param, argument); | 137 | return PIN_CONF_PACKED(param, argument); |
138 | } | 138 | } |
139 | 139 | ||
140 | int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, | ||
141 | struct device_node *np, struct pinctrl_map **map, | ||
142 | unsigned *reserved_maps, unsigned *num_maps); | ||
143 | int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev, | ||
144 | struct device_node *np_config, struct pinctrl_map **map, | ||
145 | unsigned *num_maps); | ||
140 | #endif /* CONFIG_GENERIC_PINCONF */ | 146 | #endif /* CONFIG_GENERIC_PINCONF */ |
141 | 147 | ||
142 | #endif /* __LINUX_PINCTRL_PINCONF_GENERIC_H */ | 148 | #endif /* __LINUX_PINCTRL_PINCONF_GENERIC_H */ |