diff options
Diffstat (limited to 'drivers/pinctrl/berlin')
-rw-r--r-- | drivers/pinctrl/berlin/berlin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c index 86db2235ab00..61f1bf0e60ba 100644 --- a/drivers/pinctrl/berlin/berlin.c +++ b/drivers/pinctrl/berlin/berlin.c | |||
@@ -170,9 +170,9 @@ berlin_pinctrl_find_function_by_name(struct berlin_pinctrl *pctrl, | |||
170 | return NULL; | 170 | return NULL; |
171 | } | 171 | } |
172 | 172 | ||
173 | static int berlin_pinmux_enable(struct pinctrl_dev *pctrl_dev, | 173 | static int berlin_pinmux_set(struct pinctrl_dev *pctrl_dev, |
174 | unsigned function, | 174 | unsigned function, |
175 | unsigned group) | 175 | unsigned group) |
176 | { | 176 | { |
177 | struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); | 177 | struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); |
178 | const struct berlin_desc_group *group_desc = pctrl->desc->groups + group; | 178 | const struct berlin_desc_group *group_desc = pctrl->desc->groups + group; |
@@ -197,7 +197,7 @@ static const struct pinmux_ops berlin_pinmux_ops = { | |||
197 | .get_functions_count = &berlin_pinmux_get_functions_count, | 197 | .get_functions_count = &berlin_pinmux_get_functions_count, |
198 | .get_function_name = &berlin_pinmux_get_function_name, | 198 | .get_function_name = &berlin_pinmux_get_function_name, |
199 | .get_function_groups = &berlin_pinmux_get_function_groups, | 199 | .get_function_groups = &berlin_pinmux_get_function_groups, |
200 | .enable = &berlin_pinmux_enable, | 200 | .set_mux = &berlin_pinmux_set, |
201 | }; | 201 | }; |
202 | 202 | ||
203 | static int berlin_pinctrl_add_function(struct berlin_pinctrl *pctrl, | 203 | static int berlin_pinctrl_add_function(struct berlin_pinctrl *pctrl, |