diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-st.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-st.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index 5475374d803f..6c4c41bed1e3 100644 --- a/drivers/pinctrl/pinctrl-st.c +++ b/drivers/pinctrl/pinctrl-st.c | |||
@@ -914,8 +914,8 @@ static struct st_pio_control *st_get_pio_control( | |||
914 | return &bank->pc; | 914 | return &bank->pc; |
915 | } | 915 | } |
916 | 916 | ||
917 | static int st_pmx_enable(struct pinctrl_dev *pctldev, unsigned fselector, | 917 | static int st_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned fselector, |
918 | unsigned group) | 918 | unsigned group) |
919 | { | 919 | { |
920 | struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); | 920 | struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); |
921 | struct st_pinconf *conf = info->groups[group].pin_conf; | 921 | struct st_pinconf *conf = info->groups[group].pin_conf; |
@@ -951,7 +951,7 @@ static struct pinmux_ops st_pmxops = { | |||
951 | .get_functions_count = st_pmx_get_funcs_count, | 951 | .get_functions_count = st_pmx_get_funcs_count, |
952 | .get_function_name = st_pmx_get_fname, | 952 | .get_function_name = st_pmx_get_fname, |
953 | .get_function_groups = st_pmx_get_groups, | 953 | .get_function_groups = st_pmx_get_groups, |
954 | .enable = st_pmx_enable, | 954 | .set_mux = st_pmx_set_mux, |
955 | .gpio_set_direction = st_pmx_set_gpio_direction, | 955 | .gpio_set_direction = st_pmx_set_gpio_direction, |
956 | }; | 956 | }; |
957 | 957 | ||