diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-palmas.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-palmas.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-palmas.c b/drivers/pinctrl/pinctrl-palmas.c index f13d0e78a41c..e3079d3d19fe 100644 --- a/drivers/pinctrl/pinctrl-palmas.c +++ b/drivers/pinctrl/pinctrl-palmas.c | |||
@@ -685,7 +685,8 @@ static int palmas_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, | |||
685 | return 0; | 685 | return 0; |
686 | } | 686 | } |
687 | 687 | ||
688 | static int palmas_pinctrl_enable(struct pinctrl_dev *pctldev, unsigned function, | 688 | static int palmas_pinctrl_set_mux(struct pinctrl_dev *pctldev, |
689 | unsigned function, | ||
689 | unsigned group) | 690 | unsigned group) |
690 | { | 691 | { |
691 | struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); | 692 | struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); |
@@ -742,7 +743,7 @@ static const struct pinmux_ops palmas_pinmux_ops = { | |||
742 | .get_functions_count = palmas_pinctrl_get_funcs_count, | 743 | .get_functions_count = palmas_pinctrl_get_funcs_count, |
743 | .get_function_name = palmas_pinctrl_get_func_name, | 744 | .get_function_name = palmas_pinctrl_get_func_name, |
744 | .get_function_groups = palmas_pinctrl_get_func_groups, | 745 | .get_function_groups = palmas_pinctrl_get_func_groups, |
745 | .enable = palmas_pinctrl_enable, | 746 | .set_mux = palmas_pinctrl_set_mux, |
746 | }; | 747 | }; |
747 | 748 | ||
748 | static int palmas_pinconf_get(struct pinctrl_dev *pctldev, | 749 | static int palmas_pinconf_get(struct pinctrl_dev *pctldev, |